[−][src]Struct rask_wasm::communication::GameState
GameState contains data to be sent over the network and is read by main.js
.
Fields
player_x: f32
player_y: f32
player_state: i32
Encodes actions the player takes + status effects, e.g. poisoned.
Implementations
impl GameState
[src][−]
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for GameState
impl Send for GameState
impl Sync for GameState
impl Unpin for GameState
impl UnwindSafe for GameState
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Any for T where
T: Any,
[+]
T: Any,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<S, T> Collide<[T]> for S where
T: Collide<S>,
[src][+]
T: Collide<S>,
impl<T> Event for T where
T: Send + Sync + 'static,
T: Send + Sync + 'static,
impl<T> From<T> for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T> Pointable for T
[+]
impl<T> Resource for T where
T: Any + Send + Sync,
T: Any + Send + Sync,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,