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

Public Member Functions

virtual bool Increase (int n)
 

Protected Attributes

int id
 
int value
 
string name
 

Properties

int Id [get, set]
 
int Value [get, set]
 
string Name [get, set]
 

Detailed Description

Holds data of a score

Member Function Documentation

virtual bool Score.Increase ( int  n)
virtual

Increases value by n

Reimplemented in Highscore.

Member Data Documentation

int Score.id
protected

Unique ID

string Score.name
protected

Name of the score

int Score.value
protected

Value of the score

Property Documentation

int Score.Id
getset
string Score.Name
getset
int Score.Value
getset

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