cleanup: remove unnecessary interface modifiers
This commit is contained in:
@@ -3665,12 +3665,12 @@ public class MapleMap {
|
||||
return retP + retI;
|
||||
}
|
||||
|
||||
private static interface DelayedPacketCreation {
|
||||
private interface DelayedPacketCreation {
|
||||
|
||||
void sendPackets(MapleClient c);
|
||||
}
|
||||
|
||||
private static interface SpawnCondition {
|
||||
private interface SpawnCondition {
|
||||
|
||||
boolean canSpawn(MapleCharacter chr);
|
||||
}
|
||||
|
||||
@@ -21,16 +21,17 @@
|
||||
*/
|
||||
package server.maps;
|
||||
|
||||
import java.awt.Point;
|
||||
import client.MapleClient;
|
||||
|
||||
import java.awt.*;
|
||||
|
||||
public interface MapleMapObject {
|
||||
public int getObjectId();
|
||||
public void setObjectId(int id);
|
||||
public MapleMapObjectType getType();
|
||||
public Point getPosition();
|
||||
public void setPosition(Point position);
|
||||
public void sendSpawnData(MapleClient client);
|
||||
public void sendDestroyData(MapleClient client);
|
||||
public void nullifyPosition();
|
||||
int getObjectId();
|
||||
void setObjectId(int id);
|
||||
MapleMapObjectType getType();
|
||||
Point getPosition();
|
||||
void setPosition(Point position);
|
||||
void sendSpawnData(MapleClient client);
|
||||
void sendDestroyData(MapleClient client);
|
||||
void nullifyPosition();
|
||||
}
|
||||
@@ -21,15 +21,16 @@
|
||||
*/
|
||||
package server.maps;
|
||||
|
||||
import java.awt.Point;
|
||||
import client.MapleClient;
|
||||
|
||||
import java.awt.*;
|
||||
|
||||
public interface MaplePortal {
|
||||
public final int TELEPORT_PORTAL = 1;
|
||||
public final int MAP_PORTAL = 2;
|
||||
public final int DOOR_PORTAL = 6;
|
||||
public static boolean OPEN = true;
|
||||
public static boolean CLOSED = false;
|
||||
int TELEPORT_PORTAL = 1;
|
||||
int MAP_PORTAL = 2;
|
||||
int DOOR_PORTAL = 6;
|
||||
boolean OPEN = true;
|
||||
boolean CLOSED = false;
|
||||
int getType();
|
||||
int getId();
|
||||
Point getPosition();
|
||||
|
||||
Reference in New Issue
Block a user