pub enum SnowWarGameEventData {
HumanLeftGameEventData {
human_game_object_id: i32,
},
NewMoveTargetEventData {
human_game_object_id: i32,
x: i32,
y: i32,
},
HumanThrowsSnowballAtHumanEventData {
human_game_object_id: i32,
target_human_game_object_id: i32,
trajectory: i32,
},
HumanThrowsSnowballAtPositionEventData {
human_game_object_id: i32,
target_x: i32,
target_y: i32,
trajectory: i32,
},
HumanStartsToMakeASnowballEventData {
human_game_object_id: i32,
},
CreateSnowballEventData {
snow_ball_game_object_id: i32,
human_game_object_id: i32,
target_x: i32,
target_y: i32,
trajectory: i32,
},
MachineCreatesSnowballEventData {
snow_ball_machine_reference: i32,
},
HumanGetsSnowballsFromMachineEventData {
human_game_object_id: i32,
snow_ball_machine_reference: i32,
},
}
Variants§
HumanLeftGameEventData
NewMoveTargetEventData
HumanThrowsSnowballAtHumanEventData
HumanThrowsSnowballAtPositionEventData
HumanStartsToMakeASnowballEventData
CreateSnowballEventData
Fields
MachineCreatesSnowballEventData
HumanGetsSnowballsFromMachineEventData
Trait Implementations§
Source§impl Clone for SnowWarGameEventData
impl Clone for SnowWarGameEventData
Source§fn clone(&self) -> SnowWarGameEventData
fn clone(&self) -> SnowWarGameEventData
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SnowWarGameEventData
impl Debug for SnowWarGameEventData
Source§impl PartialEq for SnowWarGameEventData
impl PartialEq for SnowWarGameEventData
impl StructuralPartialEq for SnowWarGameEventData
Auto Trait Implementations§
impl Freeze for SnowWarGameEventData
impl RefUnwindSafe for SnowWarGameEventData
impl Send for SnowWarGameEventData
impl Sync for SnowWarGameEventData
impl Unpin for SnowWarGameEventData
impl UnwindSafe for SnowWarGameEventData
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more