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

Public Member Functions

abstract GameProperty GetOrCreate< T > (int id, params object[] args)
 
abstract void Update (GameProperty gameProperty)
 

Protected Member Functions

 GamePropertyService ()
 

Static Protected Attributes

static GamePropertyService instance
 

Properties

static GamePropertyService Instance [get]
 
abstract bool SoundState [get, set]
 
abstract bool InfiniteMode [get, set]
 

Detailed Description

Manage GameProperty object

Constructor & Destructor Documentation

GamePropertyService.GamePropertyService ( )
protected

Member Function Documentation

abstract GameProperty GamePropertyService.GetOrCreate< T > ( int  id,
params object[]  args 
)
pure virtual

Get a GameProperty object or create a new one if it doesn't exist yet.

Parameters
id- game property id
args- arguments according to the constructor of the type T

Implemented in GamePropertyServiceImpl.

abstract void GamePropertyService.Update ( GameProperty  gameProperty)
pure virtual

Save the GameProperty object

Implemented in GamePropertyServiceImpl.

Member Data Documentation

GamePropertyService GamePropertyService.instance
staticprotected

Property Documentation

abstract bool GamePropertyService.InfiniteMode
getset

Infinite mode propery

GamePropertyService GamePropertyService.Instance
staticget
abstract bool GamePropertyService.SoundState
getset

Sound state propery


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