Advertisement
JoshuaStrutt

Add Pkmns

Dec 9th, 2015
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.40 KB | None | 0 0
  1.         ArrayList<Pokemon> pokemons = new ArrayList<Pokemon>();
  2.         Pokemon p001 = new Pokemon("Name",100,null);
  3.         p001.setAttacke(0, new Attacke("Attackenname",50,0.2,1));
  4.         p001.setAttacke(1, new Attacke("Attackenname",50,0.2,1));
  5.         p001.setAttacke(2, new Attacke("Attackenname",50,0.2,1));
  6.         p001.setAttacke(3, new Attacke("Attackenname",50,0.2,1));
  7.         pokemons.add(p001);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement