MoparClassic/GameServer/src/main/java/org/moparscape/msc/gs/external/GameObjectDef.java

64 lines
1.0 KiB
Java

package org.moparscape.msc.gs.external;
/**
* The definition wrapper for game objects
*/
public class GameObjectDef extends EntityDef {
/**
* The first command of the object
*/
public String command1;
/**
* The second command of the object
*/
public String command2;
/**
* Can't figure out what this one is for, either.
*/
public int groundItemVar;
/**
* The height of the object
*/
public int height;
public String objectModel;
/**
* The object type. Can't figure out the significance of it. Item type 2 & 3
* seem to be special
*/
public int type;
/**
* The width of the object
*/
public int width;
public String getCommand1() {
return command1.toLowerCase();
}
public String getCommand2() {
return command2.toLowerCase();
}
public int getGroundItemVar() {
return groundItemVar;
}
public int getHeight() {
return height;
}
public String getObjectModel() {
return objectModel;
}
public int getType() {
return type;
}
public int getWidth() {
return width;
}
}