Remove image parsing
This commit is contained in:
@@ -1,30 +0,0 @@
|
|||||||
/*
|
|
||||||
This file is part of the OdinMS Maple Story Server
|
|
||||||
Copyright (C) 2008 Patrick Huy <patrick.huy@frz.cc>
|
|
||||||
Matthias Butz <matze@odinms.de>
|
|
||||||
Jan Christian Meyer <vimes@odinms.de>
|
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
|
||||||
it under the terms of the GNU Affero General Public License as
|
|
||||||
published by the Free Software Foundation version 3 as published by
|
|
||||||
the Free Software Foundation. You may not use, modify or distribute
|
|
||||||
this program under any other version of the GNU Affero General Public
|
|
||||||
License.
|
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
GNU Affero General Public License for more details.
|
|
||||||
|
|
||||||
You should have received a copy of the GNU Affero General Public License
|
|
||||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
*/
|
|
||||||
package provider;
|
|
||||||
|
|
||||||
import java.awt.image.BufferedImage;
|
|
||||||
|
|
||||||
public interface MapleCanvas {
|
|
||||||
int getHeight();
|
|
||||||
int getWidth();
|
|
||||||
BufferedImage getImage();
|
|
||||||
}
|
|
||||||
@@ -24,7 +24,6 @@ package provider;
|
|||||||
import provider.wz.MapleDataType;
|
import provider.wz.MapleDataType;
|
||||||
|
|
||||||
import java.awt.*;
|
import java.awt.*;
|
||||||
import java.awt.image.BufferedImage;
|
|
||||||
|
|
||||||
public class MapleDataTool {
|
public class MapleDataTool {
|
||||||
public static String getString(MapleData data) {
|
public static String getString(MapleData data) {
|
||||||
@@ -138,10 +137,6 @@ public class MapleDataTool {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public static BufferedImage getImage(MapleData data) {
|
|
||||||
return ((MapleCanvas) data.getData()).getImage();
|
|
||||||
}
|
|
||||||
|
|
||||||
public static Point getPoint(MapleData data) {
|
public static Point getPoint(MapleData data) {
|
||||||
return ((Point) data.getData());
|
return ((Point) data.getData());
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user