generated from templates/go-generic
Dan Anglin
80d1b5b6c0
Added an internal package for the Pokemon trainer (the user of the application). The new Trainer type keeps track of the Pokemon in the trainer's Pokedex and the location where the trainer is visiting. Added the visit command to allow the Pokemon trainer to visit and explore an area within the Pokemon world. The explore command no longer reads any arguments and uses the trainer's current location to get a list of Pokemon encounters. Updated the catch command to ensure that the Pokemon the trainer attempts to catch is in the same location area that the trainer is visiting. |
||
---|---|---|
.. | ||
locationarea.go | ||
namedapiresourcelist.go | ||
pokemon.go |