aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/cc/polyfrost/oneconfig/renderer/font/Font.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/cc/polyfrost/oneconfig/renderer/font/Font.java')
-rw-r--r--src/main/java/cc/polyfrost/oneconfig/renderer/font/Font.java41
1 files changed, 41 insertions, 0 deletions
diff --git a/src/main/java/cc/polyfrost/oneconfig/renderer/font/Font.java b/src/main/java/cc/polyfrost/oneconfig/renderer/font/Font.java
new file mode 100644
index 0000000..b35708b
--- /dev/null
+++ b/src/main/java/cc/polyfrost/oneconfig/renderer/font/Font.java
@@ -0,0 +1,41 @@
+package cc.polyfrost.oneconfig.renderer.font;
+
+import java.nio.ByteBuffer;
+
+public class Font {
+ private final String fileName;
+ private final String name;
+ private boolean loaded = false;
+ private ByteBuffer buffer = null;
+
+ public Font(String name, String fileName) {
+ this.name = name;
+ this.fileName = fileName;
+ }
+
+ public String getName() {
+ return name;
+ }
+
+ public String getFileName() {
+ return fileName;
+ }
+
+ public boolean isLoaded() {
+ return loaded;
+ }
+
+ void setLoaded(boolean loaded) {
+ this.loaded = loaded;
+ }
+
+ public ByteBuffer getBuffer() {
+ return buffer;
+ }
+
+ void setBuffer(ByteBuffer buffer) {
+ this.buffer = buffer;
+ }
+
+}
+