dmolony-DiskBrowser/src/com/bytezone/diskbrowser/wizardry/MonsterV4.java

25 lines
939 B
Java
Raw Normal View History

2022-05-28 02:59:25 +00:00
package com.bytezone.diskbrowser.wizardry;
import com.bytezone.diskbrowser.applefile.AbstractFile;
2022-05-28 08:54:06 +00:00
import com.bytezone.diskbrowser.utilities.HexFormatter;
2022-05-28 02:59:25 +00:00
2022-05-28 08:54:06 +00:00
// -----------------------------------------------------------------------------------//
2022-05-28 02:59:25 +00:00
public class MonsterV4 extends AbstractFile
2022-05-28 08:54:06 +00:00
// -----------------------------------------------------------------------------------//
2022-05-28 02:59:25 +00:00
{
// ---------------------------------------------------------------------------------//
MonsterV4 (String[] names, byte[] buffer, int id)
// ---------------------------------------------------------------------------------//
{
super (names[2], buffer);
}
2022-05-28 08:54:06 +00:00
// ---------------------------------------------------------------------------------//
@Override
public String getText ()
// ---------------------------------------------------------------------------------//
{
return HexFormatter.format (buffer, 1, buffer[0] & 0xFF);
}
2022-05-28 02:59:25 +00:00
}