I. 게임만들기 1. 적기관련 (1)움직이기 update(){ this.y += this.speed; // if(this.y == 700){ // this.y = 0; // // this.x += 100; // } } export default class Gamecanvas{ //생성자 만들기 constructor(){ //enemy this.enemies = [new Enemy(10,0),new Enemy(30,0),new Enemy(300,0),new Enemy(500,0),new Enemy(556,0) ,new Enemy(800,10),new Enemy(700,20),new Enemy(60,0),new Enemy(300,30),new Enemy(700,0)]; } update()함수에 적기의 y값을..