public Room Clone() { Room clone = new Room(Level, Id, RoomType, Item, RoomUpIndex, RoomStraightIndex, RoomDownIndex); foreach (IEnemy e in _enemies) { clone.AddEnemy(e.EnemyType, e.HP, e.Points, 1); } return(clone); }
public Room Clone() { Room clone = new Room(Level, Id, RoomType, Item, RoomUpIndex, RoomStraightIndex, RoomDownIndex); foreach (IEnemy e in _enemies) { clone.AddEnemy(e.EnemyType, e.HP, e.Points, 1); } return clone; }