org.gamenet.application.mm8leveleditor.mm6
Class MM6SpritesLodFile
java.lang.Object
com.mmbreakfast.unlod.lod.LodFile
org.gamenet.application.mm8leveleditor.mm6.MM6SpritesLodFile
- public class MM6SpritesLodFile
- extends LodFile
Methods inherited from class com.mmbreakfast.unlod.lod.LodFile |
findLodEntryByFileName, findLodEntryForFile, getFile, getFileHeader, getFileHeaderSizeOffset, getFileName, getFileSizeMinusFileHeaderSizeOffset, getLodEntries, getNextEntry, getRandomAccessFileInputStream, readEntries, readEntryCount, readFileHeader, updateByAppendingData, verify, write |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HEADER_OFFSET
public static final long HEADER_OFFSET
- See Also:
- Constant Field Values
ENTRY_HEADER_LENGTH
public static final long ENTRY_HEADER_LENGTH
- See Also:
- Constant Field Values
ENTRIES_NUMBER_OFFSET
public static final long ENTRIES_NUMBER_OFFSET
- See Also:
- Constant Field Values
SIGNATURE
protected static final int[] SIGNATURE
cachedPaletteHashTable
private Map cachedPaletteHashTable
cachedBitmapsLodFile
private BitmapsLodFile cachedBitmapsLodFile
MM6SpritesLodFile
public MM6SpritesLodFile(File file,
RandomAccessFileInputStream randomaccessfileinputstream)
throws IOException,
InvalidLodFileException
getCachedPaletteHashTable
public Map getCachedPaletteHashTable()
getCachedBitmapsLodFile
public BitmapsLodFile getCachedBitmapsLodFile()
setCachedBitmapsLodFile
public void setCachedBitmapsLodFile(BitmapsLodFile file)
verifySignature
protected void verifySignature(RandomAccessFile randomaccessfile)
throws IOException,
InvalidLodFileException
- Overrides:
verifySignature
in class LodFile
- Throws:
IOException
InvalidLodFileException
getHeaderOffset
public long getHeaderOffset()
- Specified by:
getHeaderOffset
in class LodFile
getEntryHeaderLength
public long getEntryHeaderLength()
- Specified by:
getEntryHeaderLength
in class LodFile
getEntryClass
public Class getEntryClass()
- Specified by:
getEntryClass
in class LodFile
getEntriesNumberOffset
public long getEntriesNumberOffset()
- Specified by:
getEntriesNumberOffset
in class LodFile