org.gamenet.application.mm8leveleditor.data.mm6
Class MapNote
java.lang.Object
org.gamenet.application.mm8leveleditor.data.mm6.MapNote
- public class MapNote
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MAP_NOTE_RECORD_SIZE
private static final int MAP_NOTE_RECORD_SIZE
- See Also:
- Constant Field Values
ACTIVE_OFFSET
private static final int ACTIVE_OFFSET
- See Also:
- Constant Field Values
PADDING_OFFSET
private static final int PADDING_OFFSET
- See Also:
- Constant Field Values
X_OFFSET
private static final int X_OFFSET
- See Also:
- Constant Field Values
Y_OFFSET
private static final int Y_OFFSET
- See Also:
- Constant Field Values
TEXT_OFFSET
private static final int TEXT_OFFSET
- See Also:
- Constant Field Values
TEXT_MAX_LENGTH
private static final int TEXT_MAX_LENGTH
- See Also:
- Constant Field Values
ID_OFFSET
private static final int ID_OFFSET
- See Also:
- Constant Field Values
mapNoteData
private byte[] mapNoteData
MapNote
public MapNote()
MapNote
public MapNote(short id,
boolean active,
short x,
short y,
String text)
initialize
public int initialize(byte[] dataSrc,
int offset)
populateObjects
public static int populateObjects(byte[] data,
int offset,
List mapNoteList,
int numberOfMapNodes)
updateData
public static int updateData(byte[] newData,
int offset,
List mapNoteList)
getRecordSize
public static int getRecordSize()
isActive
public boolean isActive()
setActive
public void setActive(boolean active)
getId
public short getId()
setId
public void setId(short id)
getText
public String getText()
setText
public void setText(String text)
getX
public short getX()
setX
public void setX(short x)
getY
public short getY()
setY
public void setY(short y)
getMapNoteData
public byte[] getMapNoteData()
getTextMaxLength
public int getTextMaxLength()
getOffsetList
public static List getOffsetList()
getComparativeDataSource
public static ComparativeTableControl.DataSource getComparativeDataSource(List monsterList)