(world: &mut World, map_width: usize, map_height: usize)
| 12 | |
| 13 | impl Resources { |
| 14 | pub fn new(world: &mut World, map_width: usize, map_height: usize) -> Resources { |
| 15 | Resources { |
| 16 | input: Input::new(), |
| 17 | turn_state: TurnState::new(), |
| 18 | map: Map::generate(world, map_width, map_height), |
| 19 | } |
| 20 | } |
| 21 | } |
| 22 | |
| 23 | pub struct Input { |
nothing calls this directly
no outgoing calls
no test coverage detected