aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
authorsyeyoung <cyong06@naver.com>2020-12-30 14:18:03 +0900
committersyeyoung <cyong06@naver.com>2020-12-30 14:18:03 +0900
commit60a6f9ce3bd9a87bc540397740bca13f1dbc4dc8 (patch)
tree6a453dd95ba7038f113141f86fd291455579b54b /src/main/java
parent876fdf88c580c51dc794188c71e12898e6616dd8 (diff)
downloadSkyblock-Dungeons-Guide-60a6f9ce3bd9a87bc540397740bca13f1dbc4dc8.tar.gz
Skyblock-Dungeons-Guide-60a6f9ce3bd9a87bc540397740bca13f1dbc4dc8.tar.bz2
Skyblock-Dungeons-Guide-60a6f9ce3bd9a87bc540397740bca13f1dbc4dc8.zip
oh I wanan play
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/kr/syeyoung/dungeonsguide/config/guiconfig/PanelDelegate.java17
-rw-r--r--src/main/java/kr/syeyoung/dungeonsguide/features/GuiFeature.java4
2 files changed, 20 insertions, 1 deletions
diff --git a/src/main/java/kr/syeyoung/dungeonsguide/config/guiconfig/PanelDelegate.java b/src/main/java/kr/syeyoung/dungeonsguide/config/guiconfig/PanelDelegate.java
index c8971acd..e91f5733 100644
--- a/src/main/java/kr/syeyoung/dungeonsguide/config/guiconfig/PanelDelegate.java
+++ b/src/main/java/kr/syeyoung/dungeonsguide/config/guiconfig/PanelDelegate.java
@@ -18,6 +18,21 @@ public class PanelDelegate extends MPanel {
@Override
public void render(int absMousex, int absMousey, int relMousex0, int relMousey0, float partialTicks, Rectangle scissor) {
- super.render(absMousex, absMousey, relMousex0, relMousey0, partialTicks, scissor);
+ guiFeature.drawDemo(partialTicks);
+ }
+
+ @Override
+ public void mouseClicked(int absMouseX, int absMouseY, int relMouseX, int relMouseY, int mouseButton) {
+
+ }
+
+ @Override
+ public void mouseReleased(int absMouseX, int absMouseY, int relMouseX, int relMouseY, int state) {
+
+ }
+
+ @Override
+ public void mouseClickMove(int absMouseX, int absMouseY, int relMouseX, int relMouseY, int clickedMouseButton, long timeSinceLastClick) {
+
}
}
diff --git a/src/main/java/kr/syeyoung/dungeonsguide/features/GuiFeature.java b/src/main/java/kr/syeyoung/dungeonsguide/features/GuiFeature.java
index d7b58dbc..f74e417d 100644
--- a/src/main/java/kr/syeyoung/dungeonsguide/features/GuiFeature.java
+++ b/src/main/java/kr/syeyoung/dungeonsguide/features/GuiFeature.java
@@ -50,8 +50,12 @@ public abstract class GuiFeature extends AbstractFeature {
GL11.glPopAttrib();
}
+
public abstract void drawHUD(float partialTicks);
+ public void drawDemo(float partialTicks) {
+ drawHUD(partialTicks);
+ }
private void clip(ScaledResolution resolution, int x, int y, int width, int height) {
int scale = resolution.getScaleFactor();