Interface: GlobalEvents

game/events.GlobalEvents

Properties

gameWon

gameWon: VoidFunction

Defined in

profectus/src/game/events.ts:15

Methods

addLayer

addLayer(layer, saveData): void

Parameters

NameType
layerGenericLayer
saveDataRecord<string, unknown>

Returns

void

Defined in

profectus/src/game/events.ts:11


loadSettings

loadSettings(settings): void

Parameters

NameType
settingsPartial<Settings>

Returns

void

Defined in

profectus/src/game/events.ts:14


removeLayer

removeLayer(layer): void

Parameters

NameType
layerGenericLayer

Returns

void

Defined in

profectus/src/game/events.ts:12


reset

reset(reset): void

Parameters

NameType
resetGenericReset

Returns

void

Defined in

profectus/src/features/reset.ts:93


setupVue

setupVue(vue): void

Parameters

NameType
vueApp<any>

Returns

void

Defined in

profectus/src/game/events.ts:16


update

update(diff, trueDiff): void

Parameters

NameType
diffnumber
trueDiffnumber

Returns

void

Defined in

profectus/src/game/events.ts:13