C# Class Game.Player

Klasa gracza
Exibir arquivo 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_oe property

public Life,Game Heart1
return Life

Heart2 public_oe property

public Life,Game Heart2
return Life

Heart3 public_oe property

public Life,Game Heart3
return Life

ID public_oe property

public int ID
return int

JustEntered public_oe property

public bool JustEntered
return bool

Name public_oe property

public String,System Name
return System.String

PlayerID public_oe property

public Int32,System PlayerID
return System.Int32

PlayerShip public_oe property

public Ship,Game PlayerShip
return Ship

Score public_oe property

public Int32,System Score
return System.Int32

Statistics public_oe property

public GameStatistic Statistics
return GameStatistic

___impactBullets00 public_oe property

public List ___impactBullets00
return List

frame public_oe property

public int frame
return int