Adds a new class to represent a data type usable by configs

This commit is contained in:
Kristian Knarvik 2021-11-09 15:38:42 +01:00
parent 7c501cefe8
commit 85edaa4657

View File

@ -0,0 +1,21 @@
package net.knarcraft.stargate.config;
/**
* An enum defining the different data types an option can have
*/
public enum OptionDataType {
/**
* The data type for the option is a String
*/
STRING,
/**
* The data type for the option is a Boolean
*/
BOOLEAN,
/**
* The data type for the option is an Integer
*/
INTEGER
}