8860f39f2c
Rewrote some methods as non-static.
...
Functions for getting potions, pokeballs and pokemon are now in non-static classes.
This will make it easier to manage other npc trainers in the future.
2017-11-27 20:48:24 +01:00
b39f03c447
Prevented extra newline on invalid integer for potion or pokeball.
2017-11-27 11:19:58 +01:00
666c89fa8f
Fixed some errors and issue #14 .
...
Capturing pokemon now happens inside the Trainer object. usersPokemon is no longer used.
2017-11-27 11:11:31 +01:00
BuildTools
63859fe4ae
Replaced items with inventory. This makes it easier to validate items and add new items, but we need to remove some code repetition.
2017-11-26 14:27:38 +01:00
1d2de15c8c
Created a trainer class ( #12 )
...
Added a trainer class with a name, a list of pokemon and a list of items. Game.java has been changed to treat the player as a Trainer.
2017-11-25 22:28:17 +01:00
42ff37ce5f
Uploaded main files
2017-11-24 16:02:57 +01:00