Struct agb::display::object::ObjectStandard[][src]

pub struct ObjectStandard<'a> { /* fields omitted */ }
Expand description

The standard object, without rotation.

Implementations

Commits the object to OAM such that the updated version is displayed on screen. Recommend to do this during VBlank.

Sets the x coordinate of the sprite on screen.

Sets the y coordinate of the sprite on screen.

Sets the index of the tile to use as the sprite. Potentially a temporary function.

Sets whether the sprite is horizontally mirrored or not.

Sets the sprite size, will read tiles in x major order to construct this.

Show the object on screen.

Hide the object and do not render.

Sets the x and y position of the object, performing casts as nessesary to fit within the bits allocated for this purpose.

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 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.