Tactics: Western Philosophers Vs. Musicians
0.12
A turn-based tactical game combining rules and gameplay elements inspired by Final Fantasy Tactics and the Mayfair Exponential Game System. Unlike most games of this type, motion is in full, grid-less 3D.
|
#include <AIFSM.h>
Public Member Functions | |
State (int stateId_=-1) | |
State (int stateId_, const std::vector< Action > &actions_) | |
State * | getNextState (int input_) |
int | serialize (std::ofstream &fout_) const |
int | assemble (std::ifstream &fin_, std::vector< int > &nextStateIds_) |
Public Attributes | |
int | _stateId |
std::vector< Action > | _actions |
std::vector< int > | _inputs |
std::vector< State * > | _next |
State contains the actions that an AI::Wrapper object performs. It also stores all the states that it transitions to (but not from) and the _inputs that cause those transitions. Each index of "_inputs" leads to the State of "_next" with the same index. The size of "_inputs" and "_next" are the same, and their contents are unique.
|
inline |
|
inline |
int State::assemble | ( | std::ifstream & | fin_, |
std::vector< int > & | nextStateIds_ | ||
) |
State * State::getNextState | ( | int | input_ | ) |
int State::serialize | ( | std::ofstream & | fout_ | ) | const |
std::vector<Action> OpenSkyNet::AI::State::_actions |
std::vector<int> OpenSkyNet::AI::State::_inputs |
std::vector<State*> OpenSkyNet::AI::State::_next |
int OpenSkyNet::AI::State::_stateId |