import Points from 'WTF-Adventure/WTF-Adventure/server/js/game/entity/character/player/points/points.js'
Constructor Summary
Public Constructor | ||
public |
|
Member Summary
Public Members | ||
public |
healCallback: * |
|
public |
maxPoints: * |
|
public |
points: * |
Method Summary
Public Methods | ||
public |
decrement(amount: *) |
|
public |
|
|
public |
heal(amount: *) |
|
public |
increment(amount: *) |
|
public |
onHeal(callback: *) |
|
public |
setMaxPoints(maxPoints: *) |
|
public |
setPoints(points: *) |
Public Constructors
public constructor() source
Public Methods
public decrement(amount: *) source
Params:
Name | Type | Attribute | Description |
amount | * |
public heal(amount: *) source
Params:
Name | Type | Attribute | Description |
amount | * |
public increment(amount: *) source
Params:
Name | Type | Attribute | Description |
amount | * |
public onHeal(callback: *) source
Params:
Name | Type | Attribute | Description |
callback | * |
public setMaxPoints(maxPoints: *) source
Params:
Name | Type | Attribute | Description |
maxPoints | * |
public setPoints(points: *) source
Params:
Name | Type | Attribute | Description |
points | * |