//public void AddMapPlayer() public void AddMapEnemy(MapEnemy mapEnemy, bool addToMap = true) { Entity entity = Entity.CreateInstance(GameState.Instance.EntityManager); entity.GetTransform().Parent = this.Parent.GetTransform(); new MapEnemyComponent(entity, mapEnemy); EnemyEntites.Add(entity); if (addToMap) { _mapInstance.AddMapEnemy(mapEnemy); } }