Пример #1
0
 public Wall(Stage theStage, string label, string meshFile, int xOffset, int zOffset)
     : base(theStage, label, meshFile)
 {
     initWall(xOffset, zOffset);
 }
Пример #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();
        }
Пример #3
0
 public Wall(Stage theStage, string label, string meshFile)  : base(theStage, label, meshFile)
 {
     initWall(450, 460); // origin of wall on terrain
 }