cutechicken commited on
Commit
220212e
β€’
1 Parent(s): f027a73

Update game.js

Browse files
Files changed (1) hide show
  1. game.js +1 -1
game.js CHANGED
@@ -32,7 +32,6 @@ class TankPlayer {
32
  this.turretGroup = new THREE.Group();
33
  this.health = MAX_HEALTH;
34
  this.isLoaded = false; // λ‘œλ”© μƒνƒœ μΆ”κ°€
35
- this.previousTankPosition = new THREE.Vector3();
36
  }
37
 
38
  async initialize(scene, loader) {
@@ -276,6 +275,7 @@ class Game {
276
  this.score = 0;
277
  this.isGameOver = false;
278
  this.isLoading = true; // λ‘œλ”© μƒνƒœ μΆ”κ°€
 
279
 
280
  // 마우슀 μƒνƒœ
281
  this.mouse = {
 
32
  this.turretGroup = new THREE.Group();
33
  this.health = MAX_HEALTH;
34
  this.isLoaded = false; // λ‘œλ”© μƒνƒœ μΆ”κ°€
 
35
  }
36
 
37
  async initialize(scene, loader) {
 
275
  this.score = 0;
276
  this.isGameOver = false;
277
  this.isLoading = true; // λ‘œλ”© μƒνƒœ μΆ”κ°€
278
+ this.previousTankPosition = new THREE.Vector3();
279
 
280
  // 마우슀 μƒνƒœ
281
  this.mouse = {