Function: add()
> add(target, name?): void
Defined in: src/canvas/tickers/decorators/RegisteredTickers.ts:54
Register a ticker in the game.
Parameters
target
(args, options?) => Ticker<any>
The class of the ticker.
name?
string
Name of the ticker, by default it will use the class name. If the name is already registered, it will show a warning
Returns
void