aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/io/polyfrost/oneconfig/config/annotations
diff options
context:
space:
mode:
authorDeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com>2022-02-27 19:24:01 +0100
committerDeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com>2022-02-27 19:24:01 +0100
commit321ea5ca5b4feebc4c695fc739db7765cac77ff1 (patch)
tree932e0977301e465dc0a1dc06b0ccb60b65f617ab /src/main/java/io/polyfrost/oneconfig/config/annotations
parent0b59caa89f1954a14a5c9538a29e874818fdbc78 (diff)
downloadOneConfig-321ea5ca5b4feebc4c695fc739db7765cac77ff1.tar.gz
OneConfig-321ea5ca5b4feebc4c695fc739db7765cac77ff1.tar.bz2
OneConfig-321ea5ca5b4feebc4c695fc739db7765cac77ff1.zip
Start on hud things
Diffstat (limited to 'src/main/java/io/polyfrost/oneconfig/config/annotations')
-rw-r--r--src/main/java/io/polyfrost/oneconfig/config/annotations/HudComponent.java13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/main/java/io/polyfrost/oneconfig/config/annotations/HudComponent.java b/src/main/java/io/polyfrost/oneconfig/config/annotations/HudComponent.java
new file mode 100644
index 0000000..5e1cd62
--- /dev/null
+++ b/src/main/java/io/polyfrost/oneconfig/config/annotations/HudComponent.java
@@ -0,0 +1,13 @@
+package io.polyfrost.oneconfig.config.annotations;
+
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+
+@Retention(RetentionPolicy.RUNTIME)
+@Target(ElementType.FIELD)
+public @interface HudComponent {
+ String name();
+ String description() default "";
+}