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
+31
View File
@@ -0,0 +1,31 @@
package org.rev317.min.debug;
import java.awt.Graphics;
import org.parabot.core.Context;
import org.parabot.core.paint.AbstractDebugger;
import org.parabot.core.paint.PaintDebugger;
import org.rev317.min.api.methods.Game;
import org.rev317.min.api.methods.Players;
public class DMap extends AbstractDebugger {
private boolean enabled;
@Override
public void paint(Graphics g) {
PaintDebugger p = Context.getInstance().getPaintDebugger();
p.addLine("Location: " + Players.getMyPlayer().getLocation());
p.addLine("Plane: " + Game.getPlane());
}
@Override
public boolean isEnabled() {
return enabled;
}
@Override
public void toggle() {
enabled = !enabled;
}
}