C# Class Game.Player

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

Public Properties

Property Type Description
Heart1 Life
Heart2 Life
Heart3 Life
ID int
JustEntered bool
Name System.String
PlayerID System.Int32
PlayerShip Ship
Score System.Int32
Statistics GameStatistic
___impactBullets00 List
frame int

Public Methods

Method Description
Player ( System index ) : Casanova.Prelude
Player ( System name, GameStatistic statistics ) : Casanova.Prelude
Rule0 ( float dt, World world ) : void
Rule1 ( float dt, World world ) : void
Update ( float dt, World world ) : void

Method Details

Player() public method

public Player ( System index ) : Casanova.Prelude
index System
return Casanova.Prelude

Player() public method

public Player ( System name, GameStatistic statistics ) : Casanova.Prelude
name System
statistics GameStatistic
return Casanova.Prelude

Rule0() public method

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

Rule1() public method

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

Update() public method

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

Property Details

Heart1 public property

public Life,Game Heart1
return Life

Heart2 public property

public Life,Game Heart2
return Life

Heart3 public property

public Life,Game Heart3
return Life

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

PlayerID public property

public Int32,System PlayerID
return System.Int32

PlayerShip public property

public Ship,Game PlayerShip
return Ship

Score public property

public Int32,System Score
return System.Int32

Statistics public property

public GameStatistic Statistics
return GameStatistic

___impactBullets00 public property

public List ___impactBullets00
return List

frame public property

public int frame
return int