Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class DragonTester extends ConsoleProgram
- {
- public void run()
- {
- // Start here!
- Dragon a = new Dragon("Blyat", 60);
- System.out.println(a);
- System.out.println(a.getName());
- System.out.println(a.getLevel());
- System.out.println(a.attack());
- System.out.println(a.gainExperience());
- System.out.println(a.attack());
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement