migrate from perforce
This commit is contained in:
15
dist/Vis/VisProjectile.js
vendored
Normal file
15
dist/Vis/VisProjectile.js
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
export class VisProjectile {
|
||||
_positions;
|
||||
_simProjectile;
|
||||
constructor(simProjectile) {
|
||||
this._simProjectile = simProjectile;
|
||||
this._positions = [simProjectile.position, simProjectile.position];
|
||||
}
|
||||
get positions() {
|
||||
return this._positions;
|
||||
}
|
||||
advanceStep() {
|
||||
this._positions = [this._positions[1], this._simProjectile.position];
|
||||
}
|
||||
}
|
||||
//# sourceMappingURL=VisProjectile.js.map
|
||||
Reference in New Issue
Block a user