pub trait StartingResources {
// Required method
fn init(tick: &Tick) -> Self;
}Expand description
The starting resources of a game mode. These are provided to the player at the beginning of the game.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.