roguepy/actions.py

22 lines
229 B
Python
Raw Normal View History

2023-03-01 19:47:24 +00:00
from dataclasses import dataclass
@dataclass
class Move:
x: int
y: int
@dataclass
class Idle:
pass
2023-03-02 16:51:17 +00:00
@dataclass
class NA:
pass
Action = Move | Idle | NA
action_timing = {
2023-03-02 17:00:42 +00:00
Move: 50,
Idle: 10,
2023-03-02 16:51:17 +00:00
NA: 1
}