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

Public Types

enum  AnalyticsMode { kNoAnalytics, kTrackAnalytics }
 

Public Member Functions

bool IsGameOver () const
 
void Reset (AnalyticsMode analytics_mode)
 
void Reset ()
 
void AdvanceFrame (WorldTime delta_time, pindrop::AudioEngine *audio_engine)
 
void PreGameLogging () const
 
void PostGameLogging () const
 
void PopulateScene (SceneDescription *scene)
 
motive::Angle AngleBetweenCharacters (CharacterId source_id, CharacterId target_id) const
 
motive::Angle TargetFaceAngle (CharacterId id) const
 
uint16_t CharacterState (CharacterId id) const
 
uint32_t AllLogicalInputs () const
 
int NumActiveCharacters (bool human_only=false) const
 
void DetermineWinnersAndLosers ()
 
bool IsImmobile (CharacterId id) const
 
GameCameracamera ()
 
const GameCameracamera () const
 
mathfu::mat4 CameraMatrix () const
 
std::vector< std::unique_ptr
< Character > > & 
characters ()
 
const std::vector
< std::unique_ptr< Character > > & 
characters () const
 
std::vector< std::unique_ptr
< AirbornePie > > & 
pies ()
 
const std::vector
< std::unique_ptr< AirbornePie > > & 
pies () const
 
const CharacterArrangement & arrangement () const
 
WorldTime time () const
 
void set_config (const Config *config)
 
void set_cardboard_config (const Config *config)
 
motive::MotiveEngine & engine ()
 
ParticleManagerparticle_manager ()
 
void EnterJoiningMode ()
 
WorldTime GetAnimationTime (const Character &character) const
 
void RegisterMultiplayerDirector (MultiplayerDirector *director)
 
void set_is_multiscreen (bool b)
 
bool is_multiscreen () const
 
void set_is_in_cardboard (bool b)
 
bool is_in_cardboard () const
 
void set_use_undistort_rendering (bool b)
 
bool use_undistort_rendering ()
 

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