C# Class SafeAndFree.Player

Logic for the player.
Exibir arquivo Open project: mokasocial/PrivacyDefense Class Usage Examples

Public Methods

Method Description
AddMoney ( int dollars ) : void
AddScore ( int bonus ) : void
LoseLife ( ) : void
Player ( ) : System

Constructor.

WithdrawalMoney ( int yen ) : bool

Method Details

AddMoney() public method

public AddMoney ( int dollars ) : void
dollars int
return void

AddScore() public method

public AddScore ( int bonus ) : void
bonus int
return void

LoseLife() public method

public LoseLife ( ) : void
return void

Player() public method

Constructor.
public Player ( ) : System
return System

WithdrawalMoney() public method

public WithdrawalMoney ( int yen ) : bool
yen int
return bool