C# Class WebGame.StarSystem

Show file Open project: AdmiralPotato/ggj2013 Class Usage Examples

Public Properties

Property Type Description
Game Game
Ships List

Private Properties

Property Type Description
GetEntity Entity

Public Methods

Method Description
AddEntity ( Entity entity ) : void
RemoveEntity ( Entity entity ) : void
StarSystem ( ) : System
Update ( System.TimeSpan timeElapsed ) : void

Private Methods

Method Description
GetEntity ( int targetId ) : Entity

Method Details

AddEntity() public method

public AddEntity ( Entity entity ) : void
entity Entity
return void

RemoveEntity() public method

public RemoveEntity ( Entity entity ) : void
entity Entity
return void

StarSystem() public method

public StarSystem ( ) : System
return System

Update() public method

public Update ( System.TimeSpan timeElapsed ) : void
timeElapsed System.TimeSpan
return void

Property Details

Game public property

public Game Game
return Game

Ships public property

public List Ships
return List