| 32 | } |
| 33 | |
| 34 | pub struct Movement { |
| 35 | pub player_input: bool, |
| 36 | pub energy: i32, |
| 37 | pub speed: i32, |
| 38 | pub move_queue: VecDeque<MoveAction>, |
| 39 | } |
| 40 | |
| 41 | impl Movement { |
| 42 | pub fn new(player_input: bool, energy: i32, speed: i32) -> Movement { |
nothing calls this directly
no outgoing calls
no test coverage detected