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

Public Member Functions

override Mission GetOrCreate< T > (int id, params object[] args)
 
override bool Update (Mission mission)
 
override void ResetAll ()
 
override List< MissionGetList ()
 
override List< MissionGetList (Type type)
 

Additional Inherited Members

- Protected Member Functions inherited from MissionService
 MissionService ()
 
- Static Protected Attributes inherited from MissionService
static MissionService instance
 
- Properties inherited from MissionService
static MissionService Instance [get]
 

Detailed Description

Manage missions via Data access object Get, create and save missions.

Member Function Documentation

override List<Mission> MissionServiceImpl.GetList ( )
virtual

Get list of existing missions

Implements MissionService.

override List<Mission> MissionServiceImpl.GetList ( Type  type)
virtual

Get list of existing missions in defined type

Parameters
type- mission type

Implements MissionService.

override Mission MissionServiceImpl.GetOrCreate< T > ( int  id,
params object[]  args 
)
virtual

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

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

Implements MissionService.

override void MissionServiceImpl.ResetAll ( )
virtual

Set all mission goals as unachieved.

Implements MissionService.

override bool MissionServiceImpl.Update ( Mission  mission)
virtual

Save the mission

Implements MissionService.


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