C# Class GameBrain, PacMan

Inheritance: MonoBehaviour
Datei anzeigen Open project: Stenkrona/PacMan Class Usage Examples

Public Properties

Property Type Description
dots int
failure bool
gameStarted bool
gameover bool
lives int
score int
startTime bool
time float
win bool

Public Methods

Method Description
DiDIWin ( ) : bool
DidILose ( ) : bool
Die ( ) : void
Fail ( ) : void
HowManyDots ( ) : int
IsGameOver ( ) : bool
IsGameRunning ( ) : bool
Reset ( ) : void
ScoreBonus ( ) : void
ScoreDots ( ) : void
Start ( ) : void
Timer ( ) : void
ToggleGameStarted ( ) : void
ToggleTime ( ) : void
Update ( ) : void
WhatLives ( ) : int
WhatScore ( ) : int
WhatTime ( ) : float
Win ( ) : void

Method Details

DiDIWin() public method

public DiDIWin ( ) : bool
return bool

DidILose() public method

public DidILose ( ) : bool
return bool

Die() public method

public Die ( ) : void
return void

Fail() public method

public Fail ( ) : void
return void

HowManyDots() public method

public HowManyDots ( ) : int
return int

IsGameOver() public method

public IsGameOver ( ) : bool
return bool

IsGameRunning() public method

public IsGameRunning ( ) : bool
return bool

Reset() public method

public Reset ( ) : void
return void

ScoreBonus() public method

public ScoreBonus ( ) : void
return void

ScoreDots() public method

public ScoreDots ( ) : void
return void

Start() public method

public Start ( ) : void
return void

Timer() public method

public Timer ( ) : void
return void

ToggleGameStarted() public method

public ToggleGameStarted ( ) : void
return void

ToggleTime() public method

public ToggleTime ( ) : void
return void

Update() public method

public Update ( ) : void
return void

WhatLives() public method

public WhatLives ( ) : int
return int

WhatScore() public method

public WhatScore ( ) : int
return int

WhatTime() public method

public WhatTime ( ) : float
return float

Win() public method

public Win ( ) : void
return void

Property Details

dots public_oe property

public int dots
return int

failure public_oe property

public bool failure
return bool

gameStarted public_oe property

public bool gameStarted
return bool

gameover public_oe property

public bool gameover
return bool

lives public_oe property

public int lives
return int

score public_oe property

public int score
return int

startTime public_oe property

public bool startTime
return bool

time public_oe property

public float time
return float

win public_oe property

public bool win
return bool