Package gaiasky.util
Class GlobalConf.ScreenConf
- java.lang.Object
-
- gaiasky.util.GlobalConf.ScreenConf
-
- All Implemented Interfaces:
IObserver
,GlobalConf.IConf
- Enclosing class:
- GlobalConf
public static class GlobalConf.ScreenConf extends java.lang.Object implements GlobalConf.IConf, IObserver
-
-
Field Summary
Fields Modifier and Type Field Description int
BACKBUFFER_HEIGHT
float
BACKBUFFER_SCALE
int
BACKBUFFER_WIDTH
boolean
FULLSCREEN
int
FULLSCREEN_HEIGHT
int
FULLSCREEN_WIDTH
double
LIMIT_FPS
boolean
RESIZABLE
int
SCREEN_HEIGHT
boolean
SCREEN_OUTPUT
int
SCREEN_WIDTH
boolean
VSYNC
-
Constructor Summary
Constructors Constructor Description ScreenConf()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getScreenHeight()
int
getScreenWidth()
void
initialize(int sCREEN_WIDTH, int sCREEN_HEIGHT, int fULLSCREEN_WIDTH, int fULLSCREEN_HEIGHT, boolean fULLSCREEN, boolean rESIZABLE, boolean vSYNC, boolean sCREEN_OUTPUT, double lIMIT_FPS)
void
notify(Events event, java.lang.Object... data)
void
resize(int w, int h)
-
-
-
Field Detail
-
SCREEN_WIDTH
public int SCREEN_WIDTH
-
SCREEN_HEIGHT
public int SCREEN_HEIGHT
-
BACKBUFFER_SCALE
public float BACKBUFFER_SCALE
-
BACKBUFFER_WIDTH
public int BACKBUFFER_WIDTH
-
BACKBUFFER_HEIGHT
public int BACKBUFFER_HEIGHT
-
FULLSCREEN_WIDTH
public int FULLSCREEN_WIDTH
-
FULLSCREEN_HEIGHT
public int FULLSCREEN_HEIGHT
-
FULLSCREEN
public boolean FULLSCREEN
-
RESIZABLE
public boolean RESIZABLE
-
VSYNC
public boolean VSYNC
-
LIMIT_FPS
public double LIMIT_FPS
-
SCREEN_OUTPUT
public boolean SCREEN_OUTPUT
-
-
Method Detail
-
initialize
public void initialize(int sCREEN_WIDTH, int sCREEN_HEIGHT, int fULLSCREEN_WIDTH, int fULLSCREEN_HEIGHT, boolean fULLSCREEN, boolean rESIZABLE, boolean vSYNC, boolean sCREEN_OUTPUT, double lIMIT_FPS)
-
getScreenWidth
public int getScreenWidth()
-
getScreenHeight
public int getScreenHeight()
-
resize
public void resize(int w, int h)
-
-