Exemple #1
0
 public void setLair(Monster monster)
 {
     Utility.Assert(monster != null, "Room.setLair - monster != null");
     fLair = monster;
     if (fLairCount <= monster.getKillScore())
     {
         fLairCount++;
         fCoins++;
     }
     fSpawn = true;
 }
Exemple #2
0
 public int stopSpawn()
 {
     Utility.Assert(fLair != null, "Room.removeLair - fLair != null");
     fSpawn = false;
     return(2 * fLair.getKillScore());
 }