diff options
| author | Joel Kronqvist <joel.kronqvist@iki.fi> | 2025-11-02 22:36:35 +0200 |
|---|---|---|
| committer | Joel Kronqvist <joel.kronqvist@iki.fi> | 2025-11-02 22:36:35 +0200 |
| commit | 1475dd4020ec24df8b29f5d90d89843b64f93f95 (patch) | |
| tree | 7965e1d9cdaceb0a02a945b8f39b1437be3ed7e7 /Walls.py | |
| parent | 314be3895ece7dbeb47bcdd85a05acbc4bc0ff9c (diff) | |
| download | SnakePuzzle-1475dd4020ec24df8b29f5d90d89843b64f93f95.tar.gz SnakePuzzle-1475dd4020ec24df8b29f5d90d89843b64f93f95.zip | |
feat: hacky level changing and parsing system, also fixed unintentional class-wide variables
Diffstat (limited to 'Walls.py')
| -rw-r--r-- | Walls.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -7,9 +7,9 @@ class Walls: Supports iterating over the walls and checking if there is a wall at a specific coordinate. Useful as a wrapper to later increase performance of these operations.""" - _walls = [] def __init__(self, walls): + _walls = [] self._walls = walls def fromString(wallString): |
