MapTile
Extends:
One Tile component of the map.
Constructor Summary
| Public Constructor | ||
| public |
constructor(name: string, gridX: number, gridY: number) Constructs one Tile to add to the map. |
|
Member Summary
| Public Members | ||
| public |
|
|
| public |
height: * |
|
| public |
hpText: * |
|
| public |
owner: * |
|
| public |
posX: * |
|
| public |
posY: * |
|
| public |
tile: * |
|
| public |
width: * |
|
| public |
x: * |
|
| public |
y: * |
|
Method Summary
| Public Methods | ||
| public |
tick() Draws object in the correct position on the player screen. |
|
| public |
updateHealth(newHealth: *) |
|
