mons_rust/models/
event.rs

1use crate::*;
2
3#[derive(Debug, PartialEq, Eq, Hash, Clone)]
4pub enum Event {
5    MonMove { item: Item, from: Location, to: Location },
6    ManaMove { mana: Mana, from: Location, to: Location },
7    ManaScored { mana: Mana, at: Location },
8    MysticAction { mystic: Mon, from: Location, to: Location },
9    DemonAction { demon: Mon, from: Location, to: Location },
10    DemonAdditionalStep { demon: Mon, from: Location, to: Location },
11    SpiritTargetMove { item: Item, from: Location, to: Location },
12    PickupBomb { by: Mon, at: Location },
13    PickupPotion { by: Item, at: Location },
14    PickupMana { mana: Mana, by: Mon, at: Location },
15    MonFainted { mon: Mon, from: Location, to: Location },
16    ManaDropped { mana: Mana, at: Location },
17    SupermanaBackToBase { from: Location, to: Location },
18    BombAttack { by: Mon, from: Location, to: Location },
19    MonAwake { mon: Mon, at: Location },
20    BombExplosion { at: Location },
21    NextTurn { color: Color },
22    GameOver { winner: Color },
23}