C# Class Game.Planet

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

Public Properties

Property Type Description
Acceleration UnityEngine.Vector3
ActiveHopsCounter System.Int32
Auto_Hop_Timer System.Boolean
Battle Option
Constants GameConstants
ID int
InboundFleets List
InboundShips List
JustEntered bool
LandedShips System.Int32
LandingFleets List
LandingShips List
LocalFleets System.Int32
Mass System.Single
MinApproachingDist System.Single
Neighbours UnityPlanet>>.List
OutOfBounds System.Boolean
Owner Option
Owner Option
PlanetStats Option
RotationVelocity UnityEngine.Vector3
Selected System.Boolean
ShipToSend List
ShipsToForward List
StarSystem Option
Statistics GameStatistic
Targeted System.Boolean
UnityPlanet UnityPlanet
Velocity UnityEngine.Vector3
___C10 UnityEngine.Color
___StartBattle90 Battle
___amount_of_ships150 System.Int32
___commander_number10 System.Int32
___fleets_to_add30 System.Int32
___fleets_to_add51 System.Int32
___inbounds90 List
___is130 List
___is230 List
___isInRec120 System.Boolean
___new_owner50 Player
___next_hop150 List
___owner11 Commander
___pStats20 PlanetInfo
___planetType20 System.Int32
___selecRec120 UnitySelectionRectangle
___ss01 List
___target151 Planet
___x61 List
count_down2 System.Single
count_down3 System.Single
frame int

Public Methods

Method Description
Planet ( GameConstants constants, UnityPlanet p, UnityPlanet>.List n, Option c ) : Casanova.Prelude
Planet ( UnityEngine pos, System m, UnityEngine velocity, UnityEngine rotationVelocity ) : Casanova.Prelude
Planet ( UnityPlanet up, GameStatistic statistics, Option owner ) : Casanova.Prelude
Rule0 ( float dt, World world ) : void
Rule1 ( float dt, World world ) : void
Rule10 ( float dt, World world ) : void
Rule11 ( float dt, World world ) : void
Rule12 ( float dt, World world ) : void
Rule13 ( float dt, World world ) : void
Rule14 ( float dt, World world ) : void
Rule15 ( float dt, World world ) : void
Rule16 ( 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
Rule6 ( float dt, World world ) : void
Rule7 ( float dt, World world ) : void
Rule8 ( float dt, World world ) : void
Rule9 ( float dt, World world ) : void
Update ( float dt, World world ) : void

Method Details

Planet() public method

public Planet ( GameConstants constants, UnityPlanet p, UnityPlanet>.List n, Option c ) : Casanova.Prelude
constants GameConstants
p UnityPlanet
n UnityPlanet>.List
c Option
return Casanova.Prelude

Planet() public method

public Planet ( UnityEngine pos, System m, UnityEngine velocity, UnityEngine rotationVelocity ) : Casanova.Prelude
pos UnityEngine
m System
velocity UnityEngine
rotationVelocity UnityEngine
return Casanova.Prelude

Planet() public method

public Planet ( UnityPlanet up, GameStatistic statistics, Option owner ) : Casanova.Prelude
up UnityPlanet
statistics GameStatistic
owner Option
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

Rule10() public method

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

Rule11() public method

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

Rule12() public method

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

Rule13() public method

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

Rule14() public method

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

Rule15() public method

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

Rule16() public method

public Rule16 ( 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

Rule6() public method

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

Rule7() public method

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

Rule8() public method

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

Rule9() public method

public Rule9 ( 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

Acceleration public property

public Vector3,UnityEngine Acceleration
return UnityEngine.Vector3

ActiveHopsCounter public property

public Int32,System ActiveHopsCounter
return System.Int32

Auto_Hop_Timer public property

public Boolean,System Auto_Hop_Timer
return System.Boolean

Battle public property

public Option Battle
return Option

Constants public property

public GameConstants,Game Constants
return GameConstants

ID public property

public int ID
return int

InboundFleets public property

public List InboundFleets
return List

InboundShips public property

public List InboundShips
return List

JustEntered public property

public bool JustEntered
return bool

LandedShips public property

public Int32,System LandedShips
return System.Int32

LandingFleets public property

public List LandingFleets
return List

LandingShips public property

public List LandingShips
return List

LocalFleets public property

public Int32,System LocalFleets
return System.Int32

Mass public property

public Single,System Mass
return System.Single

MinApproachingDist public property

public Single,System MinApproachingDist
return System.Single

Neighbours public property

public List> Neighbours
return UnityPlanet>>.List

OutOfBounds public property

public Boolean,System OutOfBounds
return System.Boolean

Owner public property

public Option Owner
return Option

Owner public property

public Option Owner
return Option

PlanetStats public property

public Option PlanetStats
return Option

RotationVelocity public property

public Vector3,UnityEngine RotationVelocity
return UnityEngine.Vector3

Selected public property

public Boolean,System Selected
return System.Boolean

ShipToSend public property

public List ShipToSend
return List

ShipsToForward public property

public List ShipsToForward
return List

StarSystem public property

public Option StarSystem
return Option

Statistics public property

public GameStatistic,Game Statistics
return GameStatistic

Targeted public property

public Boolean,System Targeted
return System.Boolean

UnityPlanet public property

public UnityPlanet UnityPlanet
return UnityPlanet

Velocity public property

public Vector3,UnityEngine Velocity
return UnityEngine.Vector3

___C10 public property

public Color,UnityEngine ___C10
return UnityEngine.Color

___StartBattle90 public property

public Battle,Game ___StartBattle90
return Battle

___amount_of_ships150 public property

public Int32,System ___amount_of_ships150
return System.Int32

___commander_number10 public property

public Int32,System ___commander_number10
return System.Int32

___fleets_to_add30 public property

public Int32,System ___fleets_to_add30
return System.Int32

___fleets_to_add51 public property

public Int32,System ___fleets_to_add51
return System.Int32

___inbounds90 public property

public List ___inbounds90
return List

___is130 public property

public List ___is130
return List

___is230 public property

public List ___is230
return List

___isInRec120 public property

public Boolean,System ___isInRec120
return System.Boolean

___new_owner50 public property

public Player,Game ___new_owner50
return Player

___next_hop150 public property

public List ___next_hop150
return List

___owner11 public property

public Commander,Game ___owner11
return Commander

___pStats20 public property

public PlanetInfo,Game ___pStats20
return PlanetInfo

___planetType20 public property

public Int32,System ___planetType20
return System.Int32

___selecRec120 public property

public UnitySelectionRectangle ___selecRec120
return UnitySelectionRectangle

___ss01 public property

public List ___ss01
return List

___target151 public property

public Planet,Game ___target151
return Planet

___x61 public property

public List ___x61
return List

count_down2 public property

public Single,System count_down2
return System.Single

count_down3 public property

public Single,System count_down3
return System.Single

frame public property

public int frame
return int