C# Class Game.Commander

Show file Open project: vs-team/casanova-mk2 Class Usage Examples

Public Properties

Property Type Description
Allies List
Attack System.Single
CommanderNumber System.Int32
Defense System.Single
Faction Faction
ID int
JustEntered bool
Name System.String
Production System.Single
Research System.Single
frame int

Public Methods

Method Description
Commander ( System i, Faction f ) : Casanova.Prelude
Update ( float dt, World world ) : void

Method Details

Commander() public method

public Commander ( System i, Faction f ) : Casanova.Prelude
i System
f Faction
return Casanova.Prelude

Update() public method

public Update ( float dt, World world ) : void
dt float
world World
return void

Property Details

Allies public property

public List Allies
return List

Attack public property

public Single,System Attack
return System.Single

CommanderNumber public property

public Int32,System CommanderNumber
return System.Int32

Defense public property

public Single,System Defense
return System.Single

Faction public property

public Faction,Game Faction
return Faction

ID public property

public int ID
return int

JustEntered public property

public bool JustEntered
return bool

Name public property

public String,System Name
return System.String

Production public property

public Single,System Production
return System.Single

Research public property

public Single,System Research
return System.Single

frame public property

public int frame
return int