![]() |
Peoplemon
0.1.0
Peoplemon 3 game source documentation
|
Represents a move owned by a peoplemon. More...
#include <OwnedMove.hpp>
Public Member Functions | |
OwnedMove () | |
Creates an empty Unknown move with 0 pp. More... | |
OwnedMove (MoveId id) | |
Creates the move from the given id and sets PP accordingly. More... | |
void | restorePP (int pp) |
Restores some pp to the move. More... | |
Public Attributes | |
MoveId | id |
The id of the move. More... | |
unsigned int | curPP |
The current pp of the move. More... | |
unsigned int | maxPP |
The pp to restore to. Increased max pp is stored here. More... | |
Represents a move owned by a peoplemon.
Definition at line 17 of file OwnedMove.hpp.
core::pplmn::OwnedMove::OwnedMove | ( | ) |
Creates an empty Unknown move with 0 pp.
Definition at line 8 of file OwnedMove.cpp.
core::pplmn::OwnedMove::OwnedMove | ( | MoveId | id | ) |
Creates the move from the given id and sets PP accordingly.
id | The move to set to |
Definition at line 13 of file OwnedMove.cpp.
void core::pplmn::OwnedMove::restorePP | ( | int | pp | ) |
Restores some pp to the move.
pp | The amount to restore |
Definition at line 18 of file OwnedMove.cpp.
unsigned int core::pplmn::OwnedMove::curPP |
The current pp of the move.
Definition at line 22 of file OwnedMove.hpp.
MoveId core::pplmn::OwnedMove::id |
The id of the move.
Definition at line 19 of file OwnedMove.hpp.
unsigned int core::pplmn::OwnedMove::maxPP |
The pp to restore to. Increased max pp is stored here.
Definition at line 25 of file OwnedMove.hpp.