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