mirror of
https://github.com/billsonnn/nitro-renderer.git
synced 2025-01-18 22:36:27 +01:00
Update MovingObjectLogic
This commit is contained in:
parent
bf47c40c32
commit
680aee70df
@ -8,6 +8,7 @@ import { RoomObjectVariable } from '../RoomObjectVariable';
|
||||
|
||||
export class MovingObjectLogic extends RoomObjectLogicBase
|
||||
{
|
||||
public static UPDATE_INTERVAL: number = 500;
|
||||
private static TEMP_VECTOR: Vector3d = new Vector3d();
|
||||
|
||||
private _liftAmount: number;
|
||||
@ -28,7 +29,7 @@ export class MovingObjectLogic extends RoomObjectLogicBase
|
||||
this._locationDelta = new Vector3d();
|
||||
this._lastUpdateTime = 0;
|
||||
this._changeTime = 0;
|
||||
this._updateInterval = 500;
|
||||
this._updateInterval = MovingObjectLogic.UPDATE_INTERVAL;
|
||||
}
|
||||
|
||||
protected onDispose(): void
|
||||
|
Loading…
Reference in New Issue
Block a user