C# Class Game.Ship

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

Public Properties

Property Type Description
AmountOfShips System.Int32
FinalTarget Planet
FrontEngine Engine
HitCounter System.Int32
ID int
InitialPosition UnityEngine.Vector3
JustEntered bool
MaxVelocity System.Single
Owner Commander
Projectiles List
SideEngine Engine
Source Planet
Target Planet
UnityShip UnityShip
Velocity UnityEngine.Vector3
___cameraRotation01 System.Single
___commander_number22 System.Int32
count_down5 System.Single
frame int

Public Methods

Method Description
Rule0 ( float dt, World world ) : void
Rule1 ( float dt, World world ) : void
Rule2 ( float dt, World world ) : void
Rule3 ( float dt, World world ) : void
Rule4 ( float dt, World world ) : void
Rule5 ( float dt, World world ) : void
Ship ( ) : Casanova.Prelude
Ship ( Commander o, UnityEngine pos, System amount, Planet final_target, Planet target, Planet source, Option BaseShip ) : Casanova.Prelude
Ship ( UnityEngine position ) : Casanova.Prelude
Update ( float dt, World world ) : void

Method Details

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

Rule2() public method

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

Rule3() public method

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

Rule4() public method

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

Rule5() public method

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

Ship() public method

public Ship ( ) : Casanova.Prelude
return Casanova.Prelude

Ship() public method

public Ship ( Commander o, UnityEngine pos, System amount, Planet final_target, Planet target, Planet source, Option BaseShip ) : Casanova.Prelude
o Commander
pos UnityEngine
amount System
final_target Planet
target Planet
source Planet
BaseShip Option
return Casanova.Prelude

Ship() public method

public Ship ( UnityEngine position ) : Casanova.Prelude
position UnityEngine
return Casanova.Prelude

Update() public method

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

Property Details

AmountOfShips public_oe property

public Int32,System AmountOfShips
return System.Int32

FinalTarget public_oe property

public Planet,Game FinalTarget
return Planet

FrontEngine public_oe property

public Engine,Game FrontEngine
return Engine

HitCounter public_oe property

public Int32,System HitCounter
return System.Int32

ID public_oe property

public int ID
return int

InitialPosition public_oe property

public Vector3,UnityEngine InitialPosition
return UnityEngine.Vector3

JustEntered public_oe property

public bool JustEntered
return bool

MaxVelocity public_oe property

public Single,System MaxVelocity
return System.Single

Owner public_oe property

public Commander,Game Owner
return Commander

Projectiles public_oe property

public List Projectiles
return List

SideEngine public_oe property

public Engine,Game SideEngine
return Engine

Source public_oe property

public Planet,Game Source
return Planet

Target public_oe property

public Planet,Game Target
return Planet

UnityShip public_oe property

public UnityShip UnityShip
return UnityShip

Velocity public_oe property

public Vector3,UnityEngine Velocity
return UnityEngine.Vector3

___cameraRotation01 public_oe property

public Single,System ___cameraRotation01
return System.Single

___commander_number22 public_oe property

public Int32,System ___commander_number22
return System.Int32

count_down5 public_oe property

public Single,System count_down5
return System.Single

frame public_oe property

public int frame
return int