cutechicken commited on
Commit
ef6acf7
โ€ข
1 Parent(s): bb76419

Update game.js

Browse files
Files changed (1) hide show
  1. game.js +0 -30
game.js CHANGED
@@ -676,36 +676,6 @@ class Game {
676
  location.reload(); // ๊ฒŒ์ž„ ์ž๋™ ์žฌ์‹œ์ž‘
677
  return;
678
  }
679
- createMapBoundary() {
680
- const boundaryGeometry = new THREE.BoxGeometry(1, 20, MAP_SIZE);
681
- const boundaryMaterial = new THREE.MeshPhongMaterial({
682
- color: 0x808080,
683
- transparent: true,
684
- opacity: 0.5
685
- });
686
-
687
- // ๋™์ชฝ ๋ฒฝ
688
- const eastWall = new THREE.Mesh(boundaryGeometry, boundaryMaterial);
689
- eastWall.position.set(MAP_SIZE/2, 10, 0);
690
- this.scene.add(eastWall);
691
-
692
- // ์„œ์ชฝ ๋ฒฝ
693
- const westWall = new THREE.Mesh(boundaryGeometry, boundaryMaterial);
694
- westWall.position.set(-MAP_SIZE/2, 10, 0);
695
- this.scene.add(westWall);
696
-
697
- // ๋ถ์ชฝ ๋ฒฝ
698
- const northWall = new THREE.Mesh(boundaryGeometry, boundaryMaterial);
699
- northWall.rotation.y = Math.PI/2;
700
- northWall.position.set(0, 10, MAP_SIZE/2);
701
- this.scene.add(northWall);
702
-
703
- // ๋‚จ์ชฝ ๋ฒฝ
704
- const southWall = new THREE.Mesh(boundaryGeometry, boundaryMaterial);
705
- southWall.rotation.y = Math.PI/2;
706
- southWall.position.set(0, 10, -MAP_SIZE/2);
707
- this.scene.add(southWall);
708
- }
709
 
710
  // ์นด๋ฉ”๋ผ ์ดˆ๊ธฐ ์œ„์น˜ ์„ค์ •
711
  const tankPosition = this.tank.getPosition();
 
676
  location.reload(); // ๊ฒŒ์ž„ ์ž๋™ ์žฌ์‹œ์ž‘
677
  return;
678
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
679
 
680
  // ์นด๋ฉ”๋ผ ์ดˆ๊ธฐ ์œ„์น˜ ์„ค์ •
681
  const tankPosition = this.tank.getPosition();