2 using FBServer.Core.WorldEngine;
5 using System.Collections.Generic;
8 using System.Threading.Tasks;
12 static class GameSettings
14 public static string GameName;
17 public static GameValues GameValues =
new GameValues();
19 public static List<Map> mapPlayList =
new List<Map>();
20 public static List<Map> Maps =
new List<Map>();
21 static int currentMap = 0;
22 public static int CurrentMap
24 get {
return currentMap; }
27 if (value > mapPlayList.Count - 1)
38 public static Map GetCurrentMap()
40 if (GameSettings.mapPlayList.Count > 0)
41 return GameSettings.mapPlayList[GameSettings.currentMap];
48 public static int Speed;
51 public static bool BombsExplodeBombs =
false;
79 public void SetValues(
int speed,
int rate,
int life,
int range,
int bomb)
83 Lifes = speed + rate + life;
85 BombAmount = speed + rate + life + range + bomb;
void SetValues(int speed, int rate, int life, int range, int bomb)