How to name town names in files

Started by
9 comments, last by Nicholas Kong 10 years, 7 months ago

Hmm... Well, you could serialize your town objects. In that case, each town would have a name field. So then the actual name of the file wouldn't matter, you would load your twn01.dat file, transforming it to an object, and read its name field.

True! How did this slip pass my thought process? Thanks a bunch TheChubu!

This topic is closed to new replies.

Advertisement