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