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
2023-03-13 18:46:29 +00:00
ACTION_TIMING = {
2023-03-02 17:00:42 +00:00
Move: 50,
Idle: 10,
2023-03-02 16:51:17 +00:00
NA: 1
}