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

Public Types

enum  ScoreId {
  ScoreId.LASTSCORE_CANDY = 1, ScoreId.TOTALSCORE_CANDY = 2, ScoreId.HIGHSCORE_CANDY = 3, ScoreId.LASTSCORE_BALLOON = 4,
  ScoreId.TOTALSCORE_BALLOON = 5, ScoreId.HIGHSCORE_BALLOON = 6, ScoreId.LASTSCORE_PLANE = 7, ScoreId.TOTALSCORE_PLANE = 8,
  ScoreId.HIGHSCORE_PLANE = 9
}
 

Public Attributes

bool deleteAll = false
 

Static Public Attributes

static readonly Languages.Language Lang = Languages.Language.ENG
 

Properties

static GameData Instance [get]
 
static Dictionary< ScoreId, ScoreScores [get]
 
static List< MissionMissions [get]
 
static BooleanProperty SoundStateProperty [get]
 
static BooleanProperty InfiniteModeProperty [get]
 

Detailed Description

Defines initial data if it does not found any from the database.

Member Enumeration Documentation

Score's unique ID-s

Enumerator
LASTSCORE_CANDY 
TOTALSCORE_CANDY 
HIGHSCORE_CANDY 
LASTSCORE_BALLOON 
TOTALSCORE_BALLOON 
HIGHSCORE_BALLOON 
LASTSCORE_PLANE 
TOTALSCORE_PLANE 
HIGHSCORE_PLANE 

Member Data Documentation

bool GameData.deleteAll = false
readonly Languages.Language GameData.Lang = Languages.Language.ENG
static

Property Documentation

BooleanProperty GameData.InfiniteModeProperty
staticget

Get if it has infinite mode

GameData GameData.Instance
staticget

Get single instance of GameData

List<Mission> GameData.Missions
staticget

Get defined missions

Dictionary<ScoreId, Score> GameData.Scores
staticget

Get defined score objects

BooleanProperty GameData.SoundStateProperty
staticget

Get sound state


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