GameApi 28
Library used by GameApi Builder tool
Loading...
Searching...
No Matches
State Class Reference

#include <FightGame.hh>

Collaboration diagram for State:

Public Member Functions

void AddLink (State *st)
void AddLink (char c, State *st)
void SetFinal (bool f)
void SetStartGroup (bool b)
void SetEndGroup (bool b)
bool IsStartGroup (char) const
bool IsEndGroup (char) const
bool IsFinal () const
std::vector< char > Lookup () const
State * Follow (char ca) const
void Alloc (int count)
void SetTexture (int statenum, BufferRef buffer)
void SwitchToState (int statenum)

Public Attributes

Point pos
Vector head
Vector body_center
Vector left_leg
Vector right_leg
Vector left_arm
Vector right_arm

Member Function Documentation

◆ AddLink() [1/2]

void State::AddLink ( char c,
State * st )
inline

◆ AddLink() [2/2]

void State::AddLink ( State * st)
inline
Here is the caller graph for this function:

◆ Alloc()

void State::Alloc ( int count)

◆ Follow()

State * State::Follow ( char ca) const
inline
Here is the caller graph for this function:

◆ IsEndGroup()

bool State::IsEndGroup ( char ) const
inline
Here is the caller graph for this function:

◆ IsFinal()

bool State::IsFinal ( ) const
inline
Here is the caller graph for this function:

◆ IsStartGroup()

bool State::IsStartGroup ( char ) const
inline
Here is the caller graph for this function:

◆ Lookup()

std::vector< char > State::Lookup ( ) const
inline

◆ SetEndGroup()

void State::SetEndGroup ( bool b)
inline
Here is the caller graph for this function:

◆ SetFinal()

void State::SetFinal ( bool f)
inline

◆ SetStartGroup()

void State::SetStartGroup ( bool b)
inline
Here is the caller graph for this function:

◆ SetTexture()

void State::SetTexture ( int statenum,
BufferRef buffer )

◆ SwitchToState()

void State::SwitchToState ( int statenum)

Member Data Documentation

◆ body_center

Vector State::body_center

◆ head

Vector State::head

◆ left_arm

Vector State::left_arm

◆ left_leg

Vector State::left_leg

◆ pos

Point State::pos

◆ right_arm

Vector State::right_arm

◆ right_leg

Vector State::right_leg

The documentation for this class was generated from the following files: