Expand description
These are the items that a player should have direct access to. Should be glob reexported at the top level of mods.
pub use rustorio_engine::mod_reexports::*;Re-exports§
pub use crate::gamemodes::GameMode;pub use crate::play;pub use crate::recipe::HandRecipe;pub use crate::recipe::Recipe;pub use crate::research::ResearchPoint;pub use crate::research::Technology;pub use crate::resources::Bundle;pub use crate::resources::InsufficientResourceError;pub use crate::resources::Resource;pub use crate::resources::ResourceType;
Structs§
- Tick
- The tick is used to keep track of time in the game.
You can advance the game using the
advancemethod or similar. Many functions and building methods require aTickto be passed in, which allows them to update their state. If a function takes a&mut Tick, then the function will take time. If a function merely takes a&Tick, it will never advance the game time, but instead just roll forward it’s internal state to match the current tick.