props => properties

This commit is contained in:
Mateusz Dokowicz 2023-05-25 16:23:12 +02:00
parent 3fe4b6f2e1
commit ae838bbbc5
3 changed files with 4 additions and 4 deletions

View File

@ -14,4 +14,4 @@ class Cat(Entity):
self.sleeping = False self.sleeping = False
self.direction = 0 self.direction = 0
self.props = [4,2,20,0,1,32,37,5] self.properties = [4, 2, 20, 0, 1, 32, 37, 5]

View File

@ -5,4 +5,4 @@ from domain.world import World
class Earring(Entity): class Earring(Entity):
def __init__(self, x: int, y: int): def __init__(self, x: int, y: int):
super().__init__(x, y, "EARRING") super().__init__(x, y, "EARRING")
self.props = [1,9,0,1,0,1,20,0] self.properties = [1, 9, 0, 1, 0, 1, 20, 0]

View File

@ -6,6 +6,6 @@ class Garbage(Entity):
super().__init__(x, y, "PEEL") super().__init__(x, y, "PEEL")
self.wet = False self.wet = False
self.size = 0 self.size = 0
self.props = [2,2,0,0,1,4,24,1] self.properties = [2, 2, 0, 0, 1, 4, 24, 1]
# TODO GARBAGE: add more properties # TODO GARBAGE: add more properties