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

Public Member Functions

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

Properties

override bool SoundState [get, set]
 
override bool InfiniteMode [get, set]
 
- Properties inherited from GamePropertyService
static GamePropertyService Instance [get]
 
abstract bool SoundState [get, set]
 
abstract bool InfiniteMode [get, set]
 

Additional Inherited Members

- Protected Member Functions inherited from GamePropertyService
 GamePropertyService ()
 
- Static Protected Attributes inherited from GamePropertyService
static GamePropertyService instance
 

Detailed Description

Manage GamePropery object via Data access object

Member Function Documentation

override GameProperty GamePropertyServiceImpl.GetOrCreate< T > ( int  id,
params object[]  args 
)
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

Implements GamePropertyService.

override void GamePropertyServiceImpl.Update ( GameProperty  gameProperty)
virtual

Save the GameProperty object

Implements GamePropertyService.

Property Documentation

override bool GamePropertyServiceImpl.InfiniteMode
getset

Infinite mode propery

override bool GamePropertyServiceImpl.SoundState
getset

Sound state propery


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