Load tileset mappings from a file. This doesn't not first clear any existing entries.
The file format consists of one line per entry. Blank lines and those starting with '#' (a comment) are ignored. The line format is as follows:
tileset index frame:frame[:frame]...
Spaces may be any whitespace. The index may also be *
, which indicates that an entry should be added using each frame as a mapped index. The mapped index or frame index(s) maybe be appended by @
delay, where delay is a value in milliseconds of for the duration of the frame (or the default for all frames, if specified for mapped index).
@param in The input stream.
@throws IOException If an I/O error occurred.
@see #clear()
|
|