Interface: GlobalEvents
game/events.GlobalEvents
Properties
gameWon
• gameWon: VoidFunction
Defined in
profectus/src/game/events.ts:15
Methods
addLayer
▸ addLayer(layer
, saveData
): void
Parameters
Name | Type |
---|---|
layer | GenericLayer |
saveData | Record <string , unknown > |
Returns
void
Defined in
profectus/src/game/events.ts:11
loadSettings
▸ loadSettings(settings
): void
Parameters
Name | Type |
---|---|
settings | Partial <Settings > |
Returns
void
Defined in
profectus/src/game/events.ts:14
removeLayer
▸ removeLayer(layer
): void
Parameters
Name | Type |
---|---|
layer | GenericLayer |
Returns
void
Defined in
profectus/src/game/events.ts:12
reset
▸ reset(reset
): void
Parameters
Name | Type |
---|---|
reset | GenericReset |
Returns
void
Defined in
profectus/src/features/reset.ts:93
setupVue
▸ setupVue(vue
): void
Parameters
Name | Type |
---|---|
vue | App <any > |
Returns
void
Defined in
profectus/src/game/events.ts:16
update
▸ update(diff
, trueDiff
): void
Parameters
Name | Type |
---|---|
diff | number |
trueDiff | number |
Returns
void