Flying Piggy 2D Runner Kit  1.0
Complete 2D runner template for Unity
 All Classes Files Functions Variables Enumerations Enumerator Properties
MissionScore Class Reference
Inheritance diagram for MissionScore:
Mission Observable

Public Member Functions

 MissionScore (int level, int priority, string description, int goalScore, Score score)
 
override bool CheckGoalAchieved ()
 
- Public Member Functions inherited from Mission
 Mission (int level, string description, int priority)
 
- Public Member Functions inherited from Observable
void NotifyObservers (string message)
 
void AddObserver (IObserver o)
 
void RemoveObserver (IObserver o)
 

Properties

int GoalScore [get, set]
 
Score Score [get, set]
 
- Properties inherited from Mission
int Id [get, set]
 
string Description [get, set]
 
int Level [get, set]
 
int Priority [get, set]
 
bool GoalAchieved [get, set]
 

Additional Inherited Members

- Protected Attributes inherited from Mission
int id
 
bool goalAchieved = false
 
string description
 
int level
 
int priority
 

Detailed Description

The goal of the MissionScore is to achieve some score

Constructor & Destructor Documentation

MissionScore.MissionScore ( int  level,
int  priority,
string  description,
int  goalScore,
Score  score 
)

Member Function Documentation

override bool MissionScore.CheckGoalAchieved ( )
virtual

Check if desired score is reached

Implements Mission.

Property Documentation

int MissionScore.GoalScore
getset
Score MissionScore.Score
getset

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