![]() |
Peoplemon
0.1.0
Peoplemon 3 game source documentation
|
Encapsulates the move datastore. More...
#include <Move.hpp>
Static Public Member Functions | |
static MoveId | cast (unsigned int id) |
Converts the given raw id to a move id, or Unknown if invalid. More... | |
static const std::vector< MoveId > & | validIds () |
Returns the list of all valid move ids. More... | |
static void | setDataSource (file::MoveDB &source) |
Set the data source for each method. More... | |
static const std::string & | name (MoveId move) |
Returns the name of the given move. More... | |
static const std::string & | description (MoveId move) |
Returns the description of the given move. More... | |
static Type | type (MoveId move) |
Returns the type of the given move. More... | |
static int | damage (MoveId move) |
Returns the damage of the given move. More... | |
static int | accuracy (MoveId move) |
Returns the accuracy of the given move. More... | |
static int | priority (MoveId move) |
Returns the priority of the given move. More... | |
static unsigned int | pp (MoveId move) |
Returns the max pp of the given move. More... | |
static bool | makesContact (MoveId move) |
Returns whether or not the given move makes physical contact when used. More... | |
static bool | isSpecial (MoveId move) |
Returns whether or not the given move is special. More... | |
static MoveEffect | effect (MoveId move) |
Returns the effect of the given move. More... | |
static int | effectChance (MoveId move) |
Returns the effect chance of the given move. More... | |
static int | effectIntensity (MoveId move) |
Returns the effect intensity of the given move. More... | |
static bool | affectsUser (MoveId move) |
Returns whether or not the given move affects the user or the opponent. More... | |
static std::string | playerAnimationBackground (MoveId move) |
Returns the path to the animation for when the local player uses the move. More... | |
static std::string | playerAnimationForeground (MoveId move) |
Returns the path to the animation for when the local player uses the move. More... | |
static std::string | opponentAnimationBackground (MoveId move) |
Returns the path to the animation for when the opponent uses the move. More... | |
static std::string | opponentAnimationForeground (MoveId move) |
Returns the path to the animation for when the opponent uses the move. More... | |
static MoveId | getRandomMove (bool allowRandomEffect=false) |
Returns a random, valid move. Optionally filters moves that have the Random effect. More... | |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |