private void addRoom(IRoom room) { displayMessage("Located " + room.GetName()); if (Blueprints.AddRoom(room)) { GameConstants.TotalTreasures += room.GetItemCount(); GameConstants.TotalCreatures += room.GetCreatureCount(); } }
private void addRoom(IRoom room) { displayMessage("Located " + room.GetName()); if (Blueprints.AddRoom(room)) { GameConstants.TotalTreasures += room.GetItemCount(); GameConstants.TotalCreatures += room.GetCreatureCount(); } }