6.2 KiB
6.2 KiB
sidebar_position
sidebar_position |
---|
2 |
Present Feature Win Model
Index
Properties
- featureHitRule
String
Rule that determines how the feature is triggered. - featurePlayedCount
Number
Number of times the feature has been played. - gameWinPoint
Number
Points won in the base game. - featureWinPoint
Number
Points won in the feature game.
Methods
- Reset Resets all model properties to default values.
- SetFeaturePlayedCount Sets the number of times the feature has been played.
- GetFeaturePlayedCount Gets the number of times the feature has been played.
- SetFeatureHitRule Sets the rule used to trigger the feature.
- GetFeatureHitRule Gets the feature hit rule.
- SetGameWinPoint Sets the number of points won in the base game.
- GetGameWinPoint Gets the number of points won in the base game.
- SetFeatureWinPoint Sets the number of points won in the feature game.
- GetFeatureWinPoint Gets the number of points won in the feature game.
- GetTotalWinPoint Gets the total number of points won (game + feature).
Details
Properties
featureHitRule
Rule that determines how the feature is triggered.
meta | description |
---|---|
Type | String |
Defined in | p4f-slotty-core/src/model/present-feature-win-model.js#L7 |
featurePlayedCount
Number of times the feature has been played.
meta | description |
---|---|
Type | Number |
Defined in | p4f-slotty-core/src/model/present-feature-win-model.js#L8 |
gameWinPoint
Points won in the base game.
meta | description |
---|---|
Type | Number |
Defined in | p4f-slotty-core/src/model/present-feature-win-model.js#L9 |
featureWinPoint
Points won in the feature game.
meta | description |
---|---|
Type | Number |
Defined in | p4f-slotty-core/src/model/present-feature-win-model.js#L10 |
Methods
Reset
Resets all model properties to default values.
meta | description |
---|---|
Defined in | p4f-slotty-core/src/model/present-feature-win-model.js#L16 |
SetFeaturePlayedCount
Sets the number of times the feature has been played.
meta | description |
---|---|
Defined in | p4f-slotty-core/src/model/present-feature-win-model.js#L25 |
GetFeaturePlayedCount
Gets the number of times the feature has been played.
meta | description |
---|---|
Returns | Number |
Defined in | p4f-slotty-core/src/model/present-feature-win-model.js#L31 |
SetFeatureHitRule
Sets the rule used to trigger the feature.
meta | description |
---|---|
Defined in | p4f-slotty-core/src/model/present-feature-win-model.js#L35 |
GetFeatureHitRule
Gets the feature hit rule.
meta | description |
---|---|
Returns | String |
Defined in | p4f-slotty-core/src/model/present-feature-win-model.js#41 |
SetGameWinPoint
Sets the number of points won in the base game.
meta | description |
---|---|
Defined in | p4f-slotty-core/src/model/present-feature-win-model.js#L45 |
GetGameWinPoint
Gets the number of points won in the base game.
meta | description |
---|---|
Returns | Number |
Defined in | p4f-slotty-core/src/model/present-feature-win-model.js#L51 |
SetFeatureWinPoint
Sets the number of points won in the feature game.
meta | description |
---|---|
Defined in | p4f-slotty-core/src/model/present-feature-win-model.js#L55 |
GetFeatureWinPoint
Gets the number of points won in the feature game.
meta | description |
---|---|
Returns | Number |
Defined in | p4f-slotty-core/src/model/present-feature-win-model.js#L61 |
GetTotalWinPoint
Gets the total number of points won (game + feature).
meta | description |
---|---|
Returns | Number |
Defined in | p4f-slotty-core/src/model/present-feature-win-model.js#L65 |