[CLEANUP] Code cleanup

This commit is contained in:
Emma Stone
2017-02-01 20:35:49 +00:00
parent e6b1767f3c
commit e00f1d8562
54 changed files with 143 additions and 126 deletions
@@ -44,7 +44,6 @@ public interface Client {
CollisionMap[] getCollisionMap();
// args switched
boolean walkTo(int clickType, int sizeX, int sizeY, int startX, int startY, int destX, int destY, int type, int face, boolean arbitrary, int rotation);
boolean walkToPKH(boolean flag1, boolean flag2, int clickType, int sizeX, int sizeY, int startX, int startY, int destX, int destY, int type, int face, boolean arbitrary, int rotation);
@@ -4,6 +4,5 @@ package org.rev317.min.accessors;
public interface CollisionMap {
int[][] getFlags();
}
@@ -5,5 +5,4 @@ public interface Deque {
Node getHead();
Node getCurrent();
}
@@ -11,5 +11,4 @@ public interface Ground {
SceneObjectTile getGroundItem();
SceneObjectTile[] getInteractiveObjects();
}
@@ -6,13 +6,7 @@ public interface Interface {
int[] getStackSizes();
/**
* This is meant for the clients that have a long value as their stacksizes, simply because they have no logic...
*
* @return long version of #getStackSizes
*/
long[] getLongStackSizes();
String getMessage();
}
@@ -3,6 +3,5 @@ package org.rev317.min.accessors;
public interface Item {
int getId();
}
@@ -3,5 +3,4 @@ package org.rev317.min.accessors;
public interface Node {
Node getNext();
}
@@ -3,5 +3,4 @@ package org.rev317.min.accessors;
public interface Npc extends Character {
NpcDef getDef();
}
@@ -4,4 +4,5 @@ public interface NpcDef {
int getId();
long getLongId();
}
@@ -1,5 +1,6 @@
package org.rev317.min.accessors;
public interface Player extends Character {
String getName();
}
@@ -3,5 +3,4 @@ package org.rev317.min.accessors;
public interface Scene {
Ground[][][] getGroundArray();
}
@@ -3,5 +3,4 @@ package org.rev317.min.accessors;
public interface SceneObjectTile {
int getHash();
}