public class Hovedprogram { public static void main(String[] args) { // Lag en samling Pokedex dex = new Pokedex(); // Les inn data dex.registrer("pokemon.txt"); System.out.println("Antall pokemon: " + dex.hentAnt()); // Test noen metoder dex.visAlle(); dex.visFlammeTyper(); Pokemon sq = new Squirtle(20, 6); Pokemon ch = new Charmander(20, 8); Pokemon bu = new Bulbasaur(30, 4); ch.info(); sq.angrip(ch); sq.angrip(bu); } }