I'm attempting to create a simple roguelike, and I would like to read my monster information in from a data file, but I'm running into a problem with reading in the symbol of the monster because the game is in ascii. The entire project is on github at https://github.com/Knickkennedy/roguelike-alpha
An example line would be as followed:
Mob Name : Symbol : Color : HP : Base Attack : Base Armor
goblin : 'g' : 0 : 255 : 0 : : 10 : 10 : 5
and I'm attempting to create a new "Mob" class with it, like Mob newMob = new Mob(etc etc) but I don't know how to read a character for symbol, or to parse for a color as well, hence why color is split up into the hex ints. Any help would be very appreciated. Thanks!