MCPcopy Create free account
hub / github.com/17cupsofcoffee/rl / Resources

Class Resources

src/resources.rs:7–11  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5use crate::entities;
6
7pub struct Resources {
8 pub input: Input,
9 pub turn_state: TurnState,
10 pub map: Map,
11}
12
13impl Resources {
14 pub fn new(world: &mut World, map_width: usize, map_height: usize) -> Resources {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected