|
7 | 7 |
|
8 | 8 | class GameViews(ABC): |
9 | 9 | @abstractmethod |
10 | | - async def render_game_view_with_locations( |
| 10 | + async def game_view_with_locations( |
11 | 11 | self, |
12 | 12 | user_locations: Sequence[UserGameLocation], |
13 | 13 | game: Game, |
14 | 14 | /, |
15 | 15 | ) -> None: ... |
16 | 16 |
|
17 | 17 | @abstractmethod |
18 | | - async def render_started_game_view_with_locations( |
| 18 | + async def started_game_view_with_locations( |
19 | 19 | self, |
20 | 20 | user_locations: Sequence[UserGameLocation], |
21 | 21 | game: Game, |
22 | 22 | /, |
23 | 23 | ) -> None: ... |
24 | 24 |
|
25 | 25 | @abstractmethod |
26 | | - async def render_no_game_view( |
| 26 | + async def no_game_view( |
27 | 27 | self, |
28 | 28 | user_location: UserLocation, |
29 | 29 | /, |
30 | 30 | ) -> None: ... |
31 | 31 |
|
32 | 32 | @abstractmethod |
33 | | - async def render_game_already_complteted_view( |
| 33 | + async def game_already_complteted_view( |
34 | 34 | self, |
35 | 35 | user_location: UserLocation, |
36 | 36 | game: Game, |
37 | 37 | /, |
38 | 38 | ) -> None: ... |
39 | 39 |
|
40 | 40 | @abstractmethod |
41 | | - async def render_not_current_user_view( |
| 41 | + async def not_current_user_view( |
42 | 42 | self, |
43 | 43 | user_location: UserLocation, |
44 | 44 | game: Game, |
45 | 45 | /, |
46 | 46 | ) -> None: ... |
47 | 47 |
|
48 | 48 | @abstractmethod |
49 | | - async def render_no_cell_view( |
| 49 | + async def no_cell_view( |
50 | 50 | self, |
51 | 51 | user_location: UserLocation, |
52 | 52 | game: Game, |
53 | 53 | /, |
54 | 54 | ) -> None: ... |
55 | 55 |
|
56 | 56 | @abstractmethod |
57 | | - async def render_already_filled_cell_error( |
| 57 | + async def already_filled_cell_error( |
58 | 58 | self, |
59 | 59 | user_location: UserLocation, |
60 | 60 | game: Game, |
61 | 61 | /, |
62 | 62 | ) -> None: ... |
63 | 63 |
|
64 | 64 | @abstractmethod |
65 | | - async def render_user_already_in_game_views( |
| 65 | + async def user_already_in_game_views( |
66 | 66 | self, |
67 | 67 | locations: Sequence[UserLocation], |
68 | 68 | /, |
69 | 69 | ) -> None: ... |
70 | 70 |
|
71 | 71 | @abstractmethod |
72 | | - async def render_waiting_for_game_view( |
| 72 | + async def waiting_for_game_view( |
73 | 73 | self, |
74 | 74 | location: UserLocation, |
75 | 75 | /, |
76 | 76 | ) -> None: ... |
77 | 77 |
|
78 | 78 | @abstractmethod |
79 | | - async def render_double_waiting_for_game_view( |
| 79 | + async def double_waiting_for_game_view( |
80 | 80 | self, |
81 | 81 | location: UserLocation, |
82 | 82 | /, |
83 | 83 | ) -> None: ... |
84 | 84 |
|
85 | 85 | @abstractmethod |
86 | | - async def render_waiting_for_ai_type_to_start_game_with_ai_view( |
| 86 | + async def waiting_for_ai_type_to_start_game_with_ai_view( |
87 | 87 | self, |
88 | 88 | location: UserLocation, |
89 | 89 | /, |
|
0 commit comments