Friendly entities are now a subclass of fighting entities, and can die. The T key is now used to talk to friendly entities
This commit is contained in:
@ -38,6 +38,7 @@ class KeyValues(Enum):
|
||||
RIGHT = auto()
|
||||
ENTER = auto()
|
||||
SPACE = auto()
|
||||
T = auto()
|
||||
|
||||
@staticmethod
|
||||
def translate_key(key: str, settings: Settings) -> Optional["KeyValues"]:
|
||||
@ -60,4 +61,6 @@ class KeyValues(Enum):
|
||||
return KeyValues.ENTER
|
||||
elif key == ' ':
|
||||
return KeyValues.SPACE
|
||||
elif key == 't':
|
||||
return KeyValues.T
|
||||
return None
|
||||
|
Reference in New Issue
Block a user