Module necro.game.level.Wire
Classes
QueueEntry |
Functions
electricArc (attacker, electricityQueue, wireLevel) | |
getAll () | |
getConnectivity (x, y) | |
setFrameY (x, y, frameY) | |
tileFlash (x, y) | |
updateWireLevel (entity) |
Tables
Connectivity |
Classes
- QueueEntry
-
- victim Entity an entity from which the electric arc should start
- x int saved position of the victim
- y int saved position of the victim
- direction Action.Direction direction used for swipes and damage on this entity
- dealDamage bool if true, this entity is dealt electric damage
Functions
- electricArc (attacker, electricityQueue, wireLevel)
-
Parameters:
- attacker entity responsible for starting the electric arc
- electricityQueue Wire.QueueEntry[]
- wireLevel int amount of damage to deal to each victim
- getAll ()
- getConnectivity (x, y)
-
Parameters:
- x
- y
- setFrameY (x, y, frameY)
-
Parameters:
- x
- y
- frameY
- tileFlash (x, y)
-
Parameters:
- x
- y
- updateWireLevel (entity)
-
Parameters:
- entity