Changed package

This commit is contained in:
Clisprail
2014-04-10 18:50:44 +02:00
parent 3ccded6853
commit c353f54f02
48 changed files with 148 additions and 148 deletions
+68
View File
@@ -0,0 +1,68 @@
package org.rev317.min.api.methods;
import org.rev317.min.Loader;
/**
*
* @author Everel
*
*/
public class Game {
/**
* Gets BaseX
* @return baseX
*/
public static int getBaseX() {
return Loader.getClient().getBaseX();
}
/**
* Gets BaseY
* @return baseY
*/
public static int getBaseY() {
return Loader.getClient().getBaseY();
}
/**
* Gets open interface id
* @return interface id
*/
public static int getOpenInterfaceId() {
return Loader.getClient().getOpenInterfaceId();
}
/**
* Get open back dialog id
* @return back dialog id
*/
public static int getOpenBackDialogId() {
return Loader.getClient().getBackDialogId();
}
/**
* Gets loop cycle
* @return loop cycle
*/
public static int getLoopCycle() {
return Loader.getClient().getLoopCycle();
}
/**
* Get collision flags
* @return collision flags
*/
public static int[][] getCollisionFlags() {
return Loader.getClient().getCollisionMap()[Game.getPlane()].getFlags();
}
/**
* Gets current plane
* @return current plane
*/
public static int getPlane() {
return Loader.getClient().getPlane();
}
}