summaryrefslogtreecommitdiff
path: root/PressurePlate.py
diff options
context:
space:
mode:
Diffstat (limited to 'PressurePlate.py')
-rw-r--r--PressurePlate.py14
1 files changed, 5 insertions, 9 deletions
diff --git a/PressurePlate.py b/PressurePlate.py
index 0bcb7c3..fcebe4b 100644
--- a/PressurePlate.py
+++ b/PressurePlate.py
@@ -2,19 +2,15 @@
class PressurePlate:
- pos = None
-
- _trails = []
-
- _isActive = False
-
-
- def __init__(self, pos, trails = []):
+ def __init__(self, pos):
self.pos = pos
- self._trails = trails
+ self._trails = []
+ print(f"at pos {self.pos.toString()} trails: {self._trails}")
+ self._isActive = False
def addTrail(self, trail):
+ print(f"plate at {self.pos.toString()} got trail: {trail}")
self._trails.append(trail)