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(); }
public CFleet(E_FACTION faction) { m_parentFaction = faction; m_shipList = new List <CShip>(); shipToGameObject = new Dictionary <CShip, GameObject>(); }