Beispiel #1
0
        public static void PrintGameStats(Tower tower, Time time, GlobalProperties globalProperties)
        {
            Console.WriteLine($"Funds: {globalProperties.Money}  Population: {tower.Population}  Rating: {tower.Rating.Stars} Star");

            for (int i = 0; i < tower.Floors.Count; i++)
            {
                Console.WriteLine($"Floor Number:{i}, Segments: {tower.Floors[i].GetSegments()}, Rooms Count: {tower.Floors[i].Rooms.Count}");
            }
            Console.WriteLine(time.ToString());
            Console.WriteLine($"Profit: {tower.Ledger.TotalProfit}");
        }
Beispiel #2
0
 public GameLoop()
 {
     this.GlobalProperties = new GlobalProperties();
 }