Class ShootEnemyAttack
- Namespace
- SurvivorsMaker.Simulation
- Assembly
- SurvivorsMaker.Simulation.dll
Built-in enemy shooting behaviour that emits pooled enemy projectiles.
public sealed class ShootEnemyAttack : TimedEnemyAttack, IEnemyAttack
- Inheritance
-
ShootEnemyAttack
- Implements
- Inherited Members
Constructors
ShootEnemyAttack()
public ShootEnemyAttack()
Methods
Fire(SimWorld, Enemy, SpecialAttackDef)
Performs one eligible special attack; use world.Random and queue spawned entities through world-owned systems.
protected override void Fire(SimWorld world, Enemy enemy, SpecialAttackDef attack)
Parameters
worldSimWorldenemyEnemyattackSpecialAttackDef
Init(SimWorld, Enemy)
public override void Init(SimWorld world, Enemy enemy)