darkness-dependent-vision/src/module/hooks.js
2021-06-29 20:46:48 +02:00

21 lines
637 B
JavaScript

// SPDX-FileCopyrightText: 2021 Johannes Loher
//
// SPDX-License-Identifier: MIT
'use strict';
import registerForGetTokenConfigHeaderButtonsHook from './hooks/getTokenConfigHeaderButtons';
import registerForInitHook from './hooks/init';
import registerForUpdateSceneHook from './hooks/updateScene';
import registerForUpdateTokenHook from './hooks/updateToken';
/**
* Register for all the hooks that darkness-dependent-vision needs to react to.
*/
export default function registerForHooks() {
registerForInitHook();
registerForUpdateSceneHook();
registerForUpdateTokenHook();
registerForGetTokenConfigHeaderButtonsHook();
}