public class GenericEnemy ???????????????????? { private String name; public int damage; public GenericEnemy(String n, int d) { name = n; damage = d; } @Override public void attack(Player p) { System.out.printf("%8s の攻撃: ", name); p.damage(damage); updateDamage(); } public void updateDamage() {} }