Matthew9170/PokemonJava — pull request #2 by xkxx (2012-05-27 03:32:04+00:00)
Title: add getImage() to simplify the process

Hi Matt,
this patch added getImage() to simplify the icon creation process.
the full commit/diff is in their corresponding tab.

Changes:

* Added `private Image getImage(int num, String type)` to generate
Image according to the id of Pokemon.
* Slight change so that any n that is `1 > n || n >= 12` are considered
errors

Please do a sample-run before merging, thanks.

Regards,

xkxx