Struct pill_engine::game::Engine[][src]

pub struct Engine { /* fields omitted */ }
Expand description

Heart of Pill Engine

Implementations

Pill Engine game API

Adds game-defined system to the game update phase

Removes game-defined system

Toggles game-defined system

Returns EntityBuilder, allowing for handy entity creation

Registers new component type in scene specified with scene handle

Adds new component to the entity specified with scene and entity handle

Removes component from the entity specified with scene and entity handle

Adds global component to engine

Returns global component

Returns global mutable component

Removes global component from the engine

Returns iterator for specified component

Additionally returns entity handle to matching entities

Returns iterator for specified component mutable

Additionally returns entity handle to matching entities

Returns iterator for specified component pair

Iterator fetches specified components only for those entities which have them all Additionally returns entity handle to matching entities

Returns iterator for specified component pair mutable

Iterator fetches specified components only for those entities which have them all Additionally returns entity handle to matching entities

Returns iterator for specified component triple

Iterator fetches specified components only for those entities which have them all Additionally returns entity handle to matching entities

Returns iterator for specified component triple mutable

Iterator fetches specified components only for those entities which have them all Additionally returns entity handle to matching entities

Returns handle to the scene specified by its name

Returns handle to the active scene

Returns resource specified by its name

Returns handle to resource specified by the name of this resource

Returns mutable resource specified by its name

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The alignment of pointer.

The type for initializers.

Initializes a with the given initializer. Read more

Dereferences the given pointer. Read more

Mutably dereferences the given pointer. Read more

Drops the object pointed to by the given pointer. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.