--- sidebar_position: 2 --- # Balance Model ## Index ### Properties * [currentPoint](#currentpoint) `Number` The current point. * [freePoint](#freepoint) `Number` The current free point. ### Methods * [SetCurrentPoint](#setcurrentpoint) Set the current point. * [GetCurrentPoint](#getcurrentpoint) Get the current point. * [SetFreePoint](#setfreepoint) Set the current free point. * [GetFreePoint](#getfreepoint) Get the current free point. * [GetAvailablePoint](#getavalablepoint) Get the current point. * [isNumber](#isnumber) Indicates whether the value is number. ## Details #### currentPoint > The current point.
| meta | description | | :--- | :---------- | | Type | [Number](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number) | | Defined in | [p4f-game-core/src/model/balance-model.js:8](https://gitea.plp19.com/cocos-core/p4f-game-core/src/branch/develop/src/model/balance-model.js#L9)| #### freePoint > The current free point.
| meta | description | | :--- | :---------- | | Type | [Number](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number) | | Defined in | [p4f-game-core/src/model/balance-model.js:9](https://gitea.plp19.com/cocos-core/p4f-game-core/src/branch/develop/src/model/balance-model.js#L9)| #### SetCurrentPoint > Set the current point.
| meta | description | | :--- | :---------- | | Defined in | [p4f-game-core/src/model/balance-model.js:14](https://gitea.plp19.com/cocos-core/p4f-game-core/src/branch/develop/src/model/balance-model.js#L14)| #### GetCurrentPoint > Get the current point.
| meta | description | | :--- | :---------- | | Defined in | [p4f-game-core/src/model/balance-model.js:21](https://gitea.plp19.com/cocos-core/p4f-game-core/src/branch/develop/src/model/balance-model.js#L21)| #### SetFreePoint > Set the current free point.
| meta | description | | :--- | :---------- | | Defined in | [p4f-game-core/src/model/balance-model.js:27](https://gitea.plp19.com/cocos-core/p4f-game-core/src/branch/develop/src/model/balance-model.js#L27)| #### GetFreePoint > Get the current free point.
| meta | description | | :--- | :---------- | | Defined in | [p4f-game-core/src/model/balance-model.js:34](https://gitea.plp19.com/cocos-core/p4f-game-core/src/branch/develop/src/model/balance-model.js#L34)| #### GetAvailablePoint > Get the current point.
| meta | description | | :--- | :---------- | | Defined in | [p4f-game-core/src/model/balance-model.js:40](https://gitea.plp19.com/cocos-core/p4f-game-core/src/branch/develop/src/model/balance-model.js#L40)| #### isNumber > Indicates whether the value is number.
| meta | description | | :--- | :---------- | | Type | [Boolean](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean) | | Defined in | [p4f-game-core/src/model/balance-model.js:46](https://gitea.plp19.com/cocos-core/p4f-game-core/src/branch/develop/src/model/balance-model.js#L46)|