Renderer/src/main/java/electrosphere/entity/scene/RealmDescriptor.java
2024-07-13 15:26:29 -04:00

41 lines
732 B
Java

package electrosphere.entity.scene;
/**
* Description of the realm a scene is created within
*/
public class RealmDescriptor {
/**
* A gridded realm
*/
public static final String REALM_DESCRIPTOR_GRIDDED = "gridded";
/**
* The type of realm
*/
String type;
/**
* If this is a gridded realm, what is the dimension of the realm
*/
int griddedRealmDimension;
/**
* Gets the type of realm
* @return The type
*/
public String getType(){
return type;
}
/**
* Gets the dimensions of the gridded realm
* @return The dimension
*/
public int getGriddedRealmDimension(){
return griddedRealmDimension;
}
}