2.9 KiB
2.9 KiB
sidebar_position
| sidebar_position |
|---|
| 2 |
Balance Model
Index
Properties
- currentPoint
NumberCurrent point. - freePoint
NumberCurrent free point.
Methods
- SetCurrentPoint Set current point.
- GetCurrentPoint Get current point.
- SetFreePoint Set current free point.
- GetFreePoint Get current free point.
- GetAvailablePoint Get current point.
- isNumber Indicates whether the value is number or not.
Details
currentPoint
Current point.
| meta | description |
|---|---|
| Type | Number |
| Defined in | p4f-game-core/src/model/balance-model.js:8 |
freePoint
Current free point.
| meta | description |
|---|---|
| Type | Number |
| Defined in | p4f-game-core/src/model/balance-model.js:9 |
SetCurrentPoint
Set current point.
| meta | description |
|---|---|
| Defined in | p4f-game-core/src/model/balance-model.js:14 |
GetCurrentPoint
Get current point.
| meta | description |
|---|---|
| Defined in | p4f-game-core/src/model/balance-model.js:21 |
SetFreePoint
Set Current free point.
| meta | description |
|---|---|
| Defined in | p4f-game-core/src/model/balance-model.js:27 |
GetFreePoint
Get current free point.
| meta | description |
|---|---|
| Defined in | p4f-game-core/src/model/balance-model.js:34 |
GetAvailablePoint
Get current point.
| meta | description |
|---|---|
| Defined in | p4f-game-core/src/model/balance-model.js:40 |
isNumber
Indicates whether the value is number or not.
| meta | description |
|---|---|
| Type | Boolean |
| Defined in | p4f-game-core/src/model/balance-model.js:46 |