import {DamageIndicator} from 'atomblast.io/src/client/js/obj/damageindicator.js'DamageIndicator
Extends:
pixi.js~PIXI.Sprite → DamageIndicator
One Tile component of the map.
Constructor Summary
| Public Constructor | ||
| public |
constructor(damageAmount: *, posX: *, posY: *) |
|
Member Summary
| Public Members | ||
| public |
|
|
| public |
posX: * |
|
| public |
posY: * |
|
| public |
text: * |
|
| public |
|
|
| public |
x: * |
|
| public |
y: * |
|
Method Summary
| Public Methods | ||
| public |
tick() Draws object in the correct position on the player screen. |
|
Public Constructors
public constructor(damageAmount: *, posX: *, posY: *) source
Params:
| Name | Type | Attribute | Description |
| damageAmount | * | ||
| posX | * | ||
| posY | * |
