MCPcopy Create free account
hub / github.com/TanTanDev/runity / new

Method new

rust/runity/src/api.rs:21–26  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

19
20impl Api {
21 pub fn new() -> Self {
22 Self {
23 world: World::new(),
24 game: Game::new(),
25 }
26 }
27}
28
29#[no_mangle] pub extern fn api_init_game_lib(lib_name: *const c_char) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected