class Metapod extends Pokemon { public Metapod(String navn, int hp, int atk){ this.navn = navn; this.hp = hp; this.atk = atk; } @Override public void tackle(Pokemon p){ System.out.println(navn + " stirrer tomt ut i lufta."); } @Override public Butterfree evolve(){ System.out.println("WHAT?\n "+ navn +" is evolving."); return new Butterfree(navn, hp, atk); } }