Module mod_reexports

Module mod_reexports 

Source
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 advance method or similar. Many functions and building methods require a Tick to 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, or no Ticks at all, it will never advance the game time.

Derive Macros§

Recipe