C# Class Game.Fleet

显示文件 Open project: vs-team/casanova-mk2 Class Usage Examples

Public Properties

Property Type Description
ID int
JustEntered bool
Link Link
Owner Player
Ships System.Int32
Statistics GameStatistic
UnityFleet UnityFleet
frame int

Public Methods

Method Description
Fleet ( GameStatistic statistics, System ships, Player owner, UnityEngine position, Link link ) : Casanova.Prelude
Rule0 ( float dt, World world ) : void
Rule1 ( float dt, World world ) : void
Update ( float dt, World world ) : void

Method Details

Fleet() public method

public Fleet ( GameStatistic statistics, System ships, Player owner, UnityEngine position, Link link ) : Casanova.Prelude
statistics GameStatistic
ships System
owner Player
position UnityEngine
link Link
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

ID public_oe property

public int ID
return int

JustEntered public_oe property

public bool JustEntered
return bool

Link public_oe property

public Link,Game Link
return Link

Owner public_oe property

public Player,Game Owner
return Player

Ships public_oe property

public Int32,System Ships
return System.Int32

Statistics public_oe property

public GameStatistic,Game Statistics
return GameStatistic

UnityFleet public_oe property

public UnityFleet UnityFleet
return UnityFleet

frame public_oe property

public int frame
return int