(
&mut self,
command: C,
)
| 28 | } |
| 29 | |
| 30 | pub fn execute_command<C: PlayerExecutableCommand>( |
| 31 | &mut self, |
| 32 | command: C, |
| 33 | ) -> Result<(), PlayerError> { |
| 34 | command.execute(self) |
| 35 | } |
| 36 | |
| 37 | fn try_parse_then_execute_command<C: PlayerExecutableCommand>( |
| 38 | &mut self, |