public Wave(WaveManager masterManager, TowerDefenseGame masterGame, int count, Monster typeOfMonster)
        {
            timeUntilNextSpawn = 0;
            this.masterManager = masterManager;
            this.masterGame = masterGame;
            this.monsterType = typeOfMonster;
            monstersToSpawn = count;

            monstersAlive = new List<Monster>();
        }
        public Monster(TowerDefenseGame masterGame, MapManager mapManager, WaveManager waveManager, int health, Texture2D texture, int x, int y)
        {
            this.mapManager = mapManager;
            this.masterGame = masterGame;
            this.waveManager = waveManager;

            width = 10;
            height = 10;
            this.x = x;
            this.y = y;
            this.health = health;
            this.maxHealth = health;

            monsterTexture = texture;

            GetNextDirection();

            moveRate = 0.7f;
        }
 public void LoadMap(string mapName)
 {
     currentMap = new GameMap(masterGame, mapName);
     if (currentMap.IsPaused())
     {
         currentMap.TogglePause();
     }
     gameGUI = new GameGUIManager(this, masterGame, content, currentMap.GetMapHeight() * GameTile.TILE_DIMENSIONS, currentMap.GetMapWidth() * GameTile.TILE_DIMENSIONS);
     waveManager = new WaveManager(this, masterGame, content);
 }