Interface IEnemy
Interface used for enemies. It serves to decouple all enemies and maintain access for the level manager in a decoupled manner.
Inherited Members
Namespace: BomberDogs.Enemies
Assembly: Assembly-CSharp.dll
Syntax
public interface IEnemy : IDamageTaker
Methods
| Edit this page View SourceFreeze(float)
Paralyzes this character
Declaration
void Freeze(float duration)
Parameters
| Type | Name | Description |
|---|---|---|
| float | duration | Duration in seconds |
GetScorePointsForDeath()
Get the score points when he dies
Declaration
int GetScorePointsForDeath()
Returns
| Type | Description |
|---|---|
| int | Score |
Events
| Edit this page View SourceonDie
Event when he dies
Declaration
event Action<BasicEnemy, IDamageEmitter> onDie
Event Type
| Type | Description |
|---|---|
| Action<BasicEnemy, IDamageEmitter> |