LogoPixi’VN
indexFunctions

Function: tickerDecorator()

> tickerDecorator(name?): (target) => void

Defined in: src/canvas/tickers/decorators/RegisteredTickers.ts:32

Is a decorator that register a ticker in the game. Is a required decorator for use the ticker in the game. Thanks to this decoration the game has the possibility of updating the tickers to the latest modification and saving the game.

Parameters

name?

string

is th identifier of the label, by default is the name of the class

Returns

(target) => void