rogueliketutorials/entity_factories.py

8 lines
273 B
Python
Raw Normal View History

from entity import Entity
player = Entity(char="@", color=(255, 255, 255), name="Player", blocks_movement=True)
orc = Entity(char="o", color=(63, 127, 63), name="Orc", blocks_movement=True)
troll = Entity(char="T", color=(0, 127, 0), name="Troll", blocks_movement=True)