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

53 lines
789 B
Java

package org.moparscape.msc.gs.external;
public class GameObjectLoc {
/**
* The direction it faces
*/
public int direction;
/**
* The id of the gameObject
*/
public int id;
/**
* Type of object - 0: Object, 1: WallObject
*/
public int type;
/**
* The objects x coord
*/
public int x;
/**
* The objects y coord
*/
public int y;
public GameObjectLoc(int id, int x, int y, int direction, int type) {
this.id = id;
this.x = x;
this.y = y;
this.direction = direction;
this.type = type;
}
public int getDirection() {
return direction;
}
public int getId() {
return id;
}
public int getType() {
return type;
}
public int getX() {
return x;
}
public int getY() {
return y;
}
}