//キャラクタセレクト //プレイヤーキャラクタの能力値を決定するために、タイプを決めてもらう。 //タイプの種類は、攻撃、防御、魔法、体力 void charaSelect() { fill(0); textSize(20); text("キャラクターセレクト", width/3, height/12); text("attack",width/5.5,height/5.5); image(kougeki,10,110,280,220); text("defence",width/1.5,height/5.5); image(bougyo,310,110,280,220); text("magic",width/5.5,height/1.65); image(maho,10,370,280,220); text("life",width/1.5,height/1.65); image(tairyoku,310,370,280,220); select_c.display_c(); player = new Player(select_c.position); }