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::research::Technology;

Structs§

Bundle
Contains a fixed (compile-time known) amount of a resource. A Bundle can be used to build structures or as input for recipes.
InsufficientResourceError
Error returned when there are insufficient resources in a Resource to fulfill a request.
Resource
Holds an arbitrary amount of a resource. A Resource object can be split into smaller parts, combined or Bundles can be extracted from them.
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.