Module prelude

Module prelude 

Source

Re-exports§

pub use crate::action;
pub use crate::graphics::textures::Texture;
pub use crate::log;
pub use crate::rand;
pub use crate::time;
pub use crate::var::get_var;
pub use crate::var::set_var;
pub use crate::var::VariableType;
pub use crate::Script;

Macros§

script

Structs§

Color
A color in the RGBA format.
Message
Represents a message that can be sent between scripts or from the engine.

Enums§

MessageTarget
Represents a message target.

Traits§

MessageType
Represents a message type that can be sent between scripts or from the engine. The MessageType::MESSAGE_META constant should return a globally unique message meta for the message type.

Functions§

send_message
Sends the message to the given targets.