org.gamenet.application.mm8leveleditor.data.mm6.indoor
Class ShortVertex
java.lang.Object
org.gamenet.application.mm8leveleditor.data.mm6.indoor.ShortVertex
- All Implemented Interfaces:
- Vertex, Vertex3DValueHolder
- public class ShortVertex
- extends Object
- implements Vertex
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VERTEX_RECORD_LENGTH
private static final int VERTEX_RECORD_LENGTH
- See Also:
- Constant Field Values
EAST_WEST_OFFSET
private static final int EAST_WEST_OFFSET
- See Also:
- Constant Field Values
NORTH_SOUTH_OFFSET
private static final int NORTH_SOUTH_OFFSET
- See Also:
- Constant Field Values
HEIGHT_OFFSET
private static final int HEIGHT_OFFSET
- See Also:
- Constant Field Values
x
private short x
y
private short y
z
private short z
offset
private long offset
ShortVertex
public ShortVertex(short x,
short y,
short z,
long offset)
ShortVertex
public ShortVertex(int x,
int y,
int z)
populateObjects
public static int populateObjects(byte[] dataSrc,
int offset,
List vertexList)
updateData
public static int updateData(byte[] newData,
int offset,
List vertexList)
getX
public int getX()
- Specified by:
getX
in interface Vertex
setX
public void setX(int x)
- Specified by:
setX
in interface Vertex
getY
public int getY()
- Specified by:
getY
in interface Vertex
setY
public void setY(int y)
- Specified by:
setY
in interface Vertex
getZ
public int getZ()
- Specified by:
getZ
in interface Vertex
setZ
public void setZ(int z)
- Specified by:
setZ
in interface Vertex
getOffset
public long getOffset()
- Specified by:
getOffset
in interface Vertex
getRecordSize
public static int getRecordSize()