//The basic constructor for the class.
        public Star(int posX, int posY)
        {
            this.rootTemplate = StellarObjectTemplateDict.GetTemplate("StellarObject_Star");

            this.posX = posX;
            this.posY = posY;
        }
        //The basic constructor for the class.
        public Moon(int posX, int posY)
        {
            this.rootTemplate = StellarObjectTemplateDict.GetTemplate("StellarObject_Moon");

            this.posX = posX;
            this.posY = posY;
        }
Exemple #3
0
        //The basic constructor for the class.
        public EmptySpace(int posX, int posY)
        {
            this.rootTemplate = StellarObjectTemplateDict.GetTemplate("StellarObject_EmptySpace");

            this.posX = posX;
            this.posY = posY;
        }
Exemple #4
0
        //The standard constructor for now.
        public Planet(int posX, int posY)
        {
            this.rootTemplate = StellarObjectTemplateDict.GetTemplate("StellarObject_Planet");

            this.posX = posX;
            this.posY = posY;
        }