Esempio n. 1
0
 public Wall(Stage theStage, string label, string meshFile, int xOffset, int zOffset)
     : base(theStage, label, meshFile)
 {
     initWall(xOffset, zOffset);
 }
Esempio n. 2
0
        private bool gameOver;        // Enables or Disables the treasure game

        /// <summary>
        /// Constructor to create the treasures and set the gameOver to false (Which starts the treasure game).
        /// </summary>
        public Treasure(Stage theStage, string label, string meshFile) : base(theStage, label, meshFile)
        {
            gameOver = false;
            addTreasures();
        }
Esempio n. 3
0
 public Wall(Stage theStage, string label, string meshFile)  : base(theStage, label, meshFile)
 {
     initWall(450, 460); // origin of wall on terrain
 }