diff options
| author | Joel Kronqvist <joel.kronqvist@iki.fi> | 2025-11-01 16:32:45 +0200 |
|---|---|---|
| committer | Joel Kronqvist <joel.kronqvist@iki.fi> | 2025-11-01 16:32:45 +0200 |
| commit | ae319acbf4c29551be07c1406c434e129a84b51e (patch) | |
| tree | 5533cf9db4c73a7619c6107dca0842c4bc8f9319 /Box.py | |
| parent | 57f20a5ef761985b34817846d471a064b180e089 (diff) | |
| download | SnakePuzzle-ae319acbf4c29551be07c1406c434e129a84b51e.tar.gz SnakePuzzle-ae319acbf4c29551be07c1406c434e129a84b51e.zip | |
feat: boxes, pushing, failing before entering 'solid' tiles
Diffstat (limited to 'Box.py')
| -rw-r--r-- | Box.py | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -0,0 +1,8 @@ + +from Vec import Vec2 + +class Box: + pos = None + + def __init__(self, pos: Vec2): + self.pos = pos |
