Ejemplo n.º 1
0
 public CStar(string name, float size, int type, Vector3 position, int planetNumber, E_FACTION faction)
 {
     m_starName      = name;
     m_starSize      = size;
     m_starType      = (E_StarType)type;
     m_starPosition  = position;
     m_planetNumber  = planetNumber;
     m_planetList    = new List <CPlanet>();
     m_parentFaction = faction;
     CreatePlanetsData();
 }
Ejemplo n.º 2
0
 public CFleet(E_FACTION faction)
 {
     m_parentFaction  = faction;
     m_shipList       = new List <CShip>();
     shipToGameObject = new Dictionary <CShip, GameObject>();
 }