roguepy/entity.py

20 lines
350 B
Python
Raw Normal View History

2023-03-01 19:47:24 +00:00
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__()