Example #1
0
 public void GenerateTreasures()
 {
     for (int i = 0; i < InputHandler.getRandom(5, 100); i++)
     {
         treasures.Add(new Treasure("Treasure", TREASURE.COIN, InputHandler.getRandom(1, roomWidth - 1), InputHandler.getRandom(1, roomHeight - 1)));
     }
 }