Highroad Engine v1.3
Public Member Functions | Public Attributes | Protected Member Functions | List of all members
MoreMountains.Tools.MMAchievementRules Class Reference

That class is meant to be extended to implement the achievement rules specific to your game. More...

Inheritance diagram for MoreMountains.Tools.MMAchievementRules:
MoreMountains.Tools.MMEventListener< MMGameEvent >

Public Member Functions

virtual void PrintCurrentStatus ()
 
virtual void OnMMEvent (MMGameEvent gameEvent)
 When we catch an MMGameEvent, we do stuff based on its name More...
 
- Public Member Functions inherited from MoreMountains.Tools.MMEventListener< MMGameEvent >
void OnMMEvent (T eventType)
 

Public Attributes

MMAchievementList AchievementList
 
bool PrintCurrentStatusBtn
 

Protected Member Functions

virtual void Awake ()
 On Awake, loads the achievement list and the saved file More...
 
virtual void OnEnable ()
 On enable, we start listening for MMGameEvents. You may want to extend that to listen to other types of events. More...
 
virtual void OnDisable ()
 On disable, we stop listening for MMGameEvents. You may want to extend that to stop listening to other types of events. More...
 

Detailed Description

That class is meant to be extended to implement the achievement rules specific to your game.

Member Function Documentation

◆ Awake()

virtual void MoreMountains.Tools.MMAchievementRules.Awake ( )
protectedvirtual

On Awake, loads the achievement list and the saved file

◆ OnDisable()

virtual void MoreMountains.Tools.MMAchievementRules.OnDisable ( )
protectedvirtual

On disable, we stop listening for MMGameEvents. You may want to extend that to stop listening to other types of events.

◆ OnEnable()

virtual void MoreMountains.Tools.MMAchievementRules.OnEnable ( )
protectedvirtual

On enable, we start listening for MMGameEvents. You may want to extend that to listen to other types of events.

◆ OnMMEvent()

virtual void MoreMountains.Tools.MMAchievementRules.OnMMEvent ( MMGameEvent  gameEvent)
virtual

When we catch an MMGameEvent, we do stuff based on its name

Parameters
gameEventGame event.

◆ PrintCurrentStatus()

virtual void MoreMountains.Tools.MMAchievementRules.PrintCurrentStatus ( )
virtual

Member Data Documentation

◆ AchievementList

MMAchievementList MoreMountains.Tools.MMAchievementRules.AchievementList

◆ PrintCurrentStatusBtn

bool MoreMountains.Tools.MMAchievementRules.PrintCurrentStatusBtn

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