Expand description
Runs mimas scripts in a Bevy app. See the Bevy guide.
Modules§
- prelude
- Everything an app needs to set up scripts.
Structs§
- Entity
- Bevy’s
Entityfor scripts, stored as its bits. The orphan rule stops us from implementingMimasTypefor Bevy’s ownEntity. - Mimas
Plugin - Runs
.mimfiles as scripts. A file that declares a module gets compiled into every other script instead of running on its own. - Mimas
Script - A loaded
.mimfile. - Mimas
Systems - The systems that compile and run scripts.
- Script
- Runs a script’s hooks for this entity. Inside a hook,
bevy::ecs::me()is this entity. - Script
Error - A script’s compile error or runtime fault.
entityis only set if it happened in a hook.
Traits§
- Mimas
App - Extra setup for scripts, on top of what reflection finds.
- Script
Ctx - Access to Bevy from inside natives added with
MimasApp::script_installer.