pub enum Event {
Show 18 variants
MonMove {
item: Item,
from: Location,
to: Location,
},
ManaMove {
mana: Mana,
from: Location,
to: Location,
},
ManaScored {
mana: Mana,
at: Location,
},
MysticAction {
mystic: Mon,
from: Location,
to: Location,
},
DemonAction {
demon: Mon,
from: Location,
to: Location,
},
DemonAdditionalStep {
demon: Mon,
from: Location,
to: Location,
},
SpiritTargetMove {
item: Item,
from: Location,
to: Location,
},
PickupBomb {
by: Mon,
at: Location,
},
PickupPotion {
by: Item,
at: Location,
},
PickupMana {
mana: Mana,
by: Mon,
at: Location,
},
MonFainted {
mon: Mon,
from: Location,
to: Location,
},
ManaDropped {
mana: Mana,
at: Location,
},
SupermanaBackToBase {
from: Location,
to: Location,
},
BombAttack {
by: Mon,
from: Location,
to: Location,
},
MonAwake {
mon: Mon,
at: Location,
},
BombExplosion {
at: Location,
},
NextTurn {
color: Color,
},
GameOver {
winner: Color,
},
}
Variants§
MonMove
ManaMove
ManaScored
MysticAction
DemonAction
DemonAdditionalStep
SpiritTargetMove
PickupBomb
PickupPotion
PickupMana
MonFainted
ManaDropped
SupermanaBackToBase
BombAttack
MonAwake
BombExplosion
NextTurn
GameOver
Trait Implementations§
impl Eq for Event
impl StructuralPartialEq for Event
Auto Trait Implementations§
impl Freeze for Event
impl RefUnwindSafe for Event
impl Send for Event
impl Sync for Event
impl Unpin for Event
impl UnwindSafe for Event
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