roguepy/entity.py

20 lines
350 B
Python

from enum import Enum
from actions import Action, Idle
class Entity():
pass
class Item(Entity):
pass
class Character(Entity):
def __init__(self):
self.action: Action = Idle()
class Player(Character):
def __init__(self):
super().__init__()
class Enemy(Character):
def __init__(self):
super().__init__()