//グローバル関数int[][] stage = new int[21][12];int tate,yoko;WallBlock wall;Zukei zukei;void setup() {size(421,735);background(0);frameRate(30);wall = new WallBlock("WallBlock", width/2, height/2);}void draw() {background(0);//ステージ設定wall.update();//ブロック表示zukei.update();}