Skip to content

Enemy replacement #29

@TacoConKvass

Description

@TacoConKvass

What is the addition?

An API allowing to dynamically replace enemies that are going to be spawned in a room.

Why?

This will allow for replacing enemies in boss rooms as well as normal generated rooms.

Example usage

Enemy.ReplaceSpawn.Event += (EnemyType originalType, EnemyRank originalRank, EnemySpawnController spawnController) => {
    // ...
}

Additional notes

Can be implemented by inserting the event call before the EnemyManager.GetEnemyFromPool call in EnemySpawnController.InitializeEnemyInstance.

Metadata

Metadata

Assignees

Labels

additionAddition suggestion

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions