refactor: more world time ticks

This commit is contained in:
cha0s 2019-04-23 15:26:56 -05:00
parent c568a933a2
commit 94d2f32451

View File

@ -6,7 +6,7 @@ export class WorldTime {
constructor() {
this._hour = 0;
this.ticker = new Ticker(1);
this.ticker = new Ticker(0.25);
this._state = 0;
this.ticker.on('tick', () => {
this._state = (this._hour * MAGIC_TO_FIT_HOUR_INTO_USHORT) >> 0;