BattleInfoPlugin.ViewModels.EnemyWindowViewModel.RemoveEnemy C# (CSharp) Method

RemoveEnemy() public method

public RemoveEnemy ( string enemyId ) : void
enemyId string
return void
        public void RemoveEnemy(string enemyId)
        {
            this.mapData.EnemyData.RemoveEnemy(enemyId);

            this.SelectedMap.EnemyCells = CreateEnemyCells(this.SelectedMap.Info, this.mapData.GetMapEnemies(), this.mapData.GetCellTypes());
        }