Struct libsm64::MarioState [−][src]
pub struct MarioState {
pub position: Point3<f32>,
pub velocity: Point3<f32>,
pub face_angle: f32,
pub health: i16,
}
Expand description
Mario’s state after a tick of logic
Fields
position: Point3<f32>
The position of Mario in 3D space
velocity: Point3<f32>
The velocity of Mario on each axis
face_angle: f32
The direction Mario is facing
health: i16
Mario’s current health
Trait Implementations
Returns the “default value” for a type. Read more
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for MarioState
impl Send for MarioState
impl Sync for MarioState
impl Unpin for MarioState
impl UnwindSafe for MarioState
Blanket Implementations
Mutably borrows from an owned value. Read more