Part 1 of the tutorial.
This commit is contained in:
13
actions.py
Normal file
13
actions.py
Normal file
@@ -0,0 +1,13 @@
|
||||
class Action:
|
||||
pass
|
||||
|
||||
|
||||
class EscapeAction(Action):
|
||||
pass
|
||||
|
||||
class MovementAction(Action):
|
||||
def __init__(self, dx: int, dy: int):
|
||||
super().__init__()
|
||||
|
||||
self.dx = dx
|
||||
self.dy = dy
|
||||
Reference in New Issue
Block a user