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

Public Member Functions

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

Protected Attributes

int id
 
bool goalAchieved = false
 
string description
 
int level
 
int priority
 

Properties

int Id [get, set]
 
string Description [get, set]
 
int Level [get, set]
 
int Priority [get, set]
 
bool GoalAchieved [get, set]
 

Detailed Description

Mission describes a goal and checks if it is achieved

Constructor & Destructor Documentation

Mission.Mission ( int  level,
string  description,
int  priority 
)

Member Function Documentation

abstract bool Mission.CheckGoalAchieved ( )
pure virtual

Check if the goal is achieved

Implemented in MissionScore.

Member Data Documentation

string Mission.description
protected
bool Mission.goalAchieved = false
protected
int Mission.id
protected
int Mission.level
protected
int Mission.priority
protected

Property Documentation

string Mission.Description
getset
bool Mission.GoalAchieved
getset
int Mission.Id
getset
int Mission.Level
getset
int Mission.Priority
getset

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