C# Class GameStatistics, ES2015F

Exibir arquivo Open project: jgirald/ES2015F Class Usage Examples

Public Properties

Property Type Description
winCondition Victory,
winner Player,

Public Methods

Method Description
addCreatedUnits ( Player, p, int x ) : void
addFoodCollected ( Player, p, int x ) : void
addKilledUnits ( Player, p, int x ) : void
addLostUnits ( Player, p, int x ) : void
addStoneCollected ( Player, p, int x ) : void
addWoodCollected ( Player, p, int x ) : void
getPS ( Player, p ) : PlayerStatistics,
resetStatistics ( ) : void

Method Details

addCreatedUnits() public static method

public static addCreatedUnits ( Player, p, int x ) : void
p Player,
x int
return void

addFoodCollected() public static method

public static addFoodCollected ( Player, p, int x ) : void
p Player,
x int
return void

addKilledUnits() public static method

public static addKilledUnits ( Player, p, int x ) : void
p Player,
x int
return void

addLostUnits() public static method

public static addLostUnits ( Player, p, int x ) : void
p Player,
x int
return void

addStoneCollected() public static method

public static addStoneCollected ( Player, p, int x ) : void
p Player,
x int
return void

addWoodCollected() public static method

public static addWoodCollected ( Player, p, int x ) : void
p Player,
x int
return void

getPS() public static method

public static getPS ( Player, p ) : PlayerStatistics,
p Player,
return PlayerStatistics,

resetStatistics() public static method

public static resetStatistics ( ) : void
return void

Property Details

winCondition public_oe static_oe property

public static Victory, winCondition
return Victory,

winner public_oe static_oe property

public static Player, winner
return Player,