54 const pplmn::Stat* s = std::get_if<pplmn::Stat>(&data);
69 const item::Id* i = std::get_if<item::Id>(&data);
Id
Represents an item in its simplist form.
PassiveAilment
Represents a passive ailment a Peoplemon can have.
Stat
Represents a single stat. Used as an offset to access Stats as an array.
Ailment
Represents an ailment that a Peoplemon can have.
Core classes and functionality for both the editor and game.
pplmn::MoveId getMove() const
Returns the move for this animation.
Type
The type of animation to play.
bool forHostBattler() const
Returns whether or not this animation is for the host or not.
pplmn::PassiveAilment getPassiveAilment() const
Get the ailment for this animation.
Type getType() const
Returns the type of animation to play.
pplmn::Ailment getAilment() const
Get the ailment for this animation.
pplmn::Stat getStat() const
Returns the stat for this animation.
item::Id getPeopleball() const
Get the Peopleball for this animation.
Animation(Type type)
For animations that are not specific to either battler.