Loom Engine - v0.10.1
GitHub
TheWorldTable.ai
Preparing search index...
AttackSystem
Class AttackSystem
Implements
System
Index
Constructors
constructor
Properties
name
last
Target
Index
last
Damage
Applied
Methods
update
Constructors
constructor
new
AttackSystem
(
opts
:
AttackSystemOptions
)
:
AttackSystem
Parameters
opts
:
AttackSystemOptions
Returns
AttackSystem
Properties
Readonly
name
name
:
string
= 'attack'
last
Target
Index
lastTargetIndex
:
number
= -1
last
Damage
Applied
lastDamageApplied
:
number
= 0
Methods
update
update
(
world
:
World
,
_dt
:
number
)
:
void
Parameters
world
:
World
_dt
:
number
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
name
last
Target
Index
last
Damage
Applied
Methods
update
GitHub
TheWorldTable.ai
Loom Engine - v0.10.1
Loading...