Part 1 of the tutorial.

This commit is contained in:
2021-05-26 13:06:40 -04:00
parent ab4031075f
commit ca0f09cc07
3 changed files with 71 additions and 50 deletions

13
actions.py Normal file
View 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