Class NPCCombatSystem
Handles combat for NPCs.
Inheritance
System.Object
NPCCombatSystem
Namespace: Content.Server.NPC.Systems
Assembly: Content.Server.dll
Syntax
public sealed class NPCCombatSystem : EntitySystem
Fields
| Improve this Doc View SourceEnabled
If disabled we'll move into range but not attack.
Declaration
public bool Enabled
Field Value
Type | Description |
---|---|
System.Boolean |
UnoccludedCooldown
Cooldown on raycasting to check LOS.
Declaration
public const float UnoccludedCooldown = null
Field Value
Type | Description |
---|---|
System.Single |
Methods
| Improve this Doc View SourceInitialize()
Declaration
public override void Initialize()
Update(Single)
Declaration
public override void Update(float frameTime)
Parameters
Type | Name | Description |
---|---|---|
System.Single | frameTime |