Pie Noon
An open source project by FPL.
 All Classes Pages
fpl::pie_noon::Character Class Reference

Public Member Functions

 Character (CharacterId id, Controller *controller, const Config &config, const CharacterStateMachineDef *character_state_machine_def)
 
void Reset (CharacterId target, CharacterHealth health, motive::Angle face_angle, const mathfu::vec3 &position, motive::MotiveEngine *engine)
 
void TwitchFaceAngle (motive::TwitchDirection twitch)
 
void force_target (CharacterId target)
 
motive::Angle FaceAngle () const
 
void SetTarget (CharacterId target, motive::Angle angle_to_target)
 
uint16_t RenderableId (WorldTime anim_time) const
 
uint16_t Variant () const
 
mathfu::vec4 Color () const
 
mathfu::vec4 ButtonColor () const
 
const Timeline * CurrentTimeline () const
 
uint16_t State () const
 
uint16_t state_last_update () const
 
void UpdatePreviousState ()
 
bool Active () const
 
void PlaySound (const char *sound) const
 
CharacterHealth health () const
 
void set_health (CharacterHealth health)
 
CharacterId id () const
 
CharacterId target () const
 
CharacterHealth pie_damage () const
 
void set_pie_damage (CharacterHealth pie_damage)
 
mathfu::vec3 position () const
 
void set_position (const mathfu::vec3 &position)
 
const Controllercontroller () const
 
Controllercontroller ()
 
void set_controller (Controller *controller)
 
const CharacterStateMachinestate_machine () const
 
CharacterStateMachinestate_machine ()
 
void IncrementStat (PlayerStats stat)
 
uint64_t & GetStat (PlayerStats stat)
 
void set_score (int score)
 
int score ()
 
void set_just_joined_game (bool just_joined_game)
 
bool just_joined_game ()
 
void set_victory_state (VictoryState state)
 
VictoryState victory_state ()
 
void ResetStats ()
 
bool visible () const
 
void set_visible (bool visible)
 

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