Package gaiasky.interfce
Class SpacecraftGui
- java.lang.Object
-
- gaiasky.interfce.AbstractGui
-
- gaiasky.interfce.SpacecraftGui
-
public class SpacecraftGui extends AbstractGui
-
-
Field Summary
-
Fields inherited from class gaiasky.interfce.AbstractGui
hoffset, interfaces, lock, name, skin, ui, vr
-
-
Constructor Summary
Constructors Constructor Description SpacecraftGui()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddoneLoading(com.badlogic.gdx.assets.AssetManager assetManager)Constructs the interfacevoidinitialize(com.badlogic.gdx.assets.AssetManager assetManager)Initializes the GUI, adding all the resources to the asset manager queue for loadingvoidnotify(Events event, java.lang.Object... data)protected voidrebuildGui()Adds the already created GUI objects to the stage.voidrender(int rw, int rh)Renders this GUIvoidresizeImmediate(int width, int height)Resizes without waiting for the current loop to finish-
Methods inherited from class gaiasky.interfce.AbstractGui
cancelTouchFocus, dispose, findActor, getGuiStage, getName, mustDraw, resize, setHoffset, setSceneGraph, setVisibilityToggles, setVr, update
-
-
-
-
Method Detail
-
initialize
public void initialize(com.badlogic.gdx.assets.AssetManager assetManager)
Description copied from interface:IGuiInitializes the GUI, adding all the resources to the asset manager queue for loading- Parameters:
assetManager- The asset manager to load the resources with
-
doneLoading
public void doneLoading(com.badlogic.gdx.assets.AssetManager assetManager)
Constructs the interface- Parameters:
assetManager- The asset manager
-
rebuildGui
protected void rebuildGui()
Description copied from class:AbstractGuiAdds the already created GUI objects to the stage.- Specified by:
rebuildGuiin classAbstractGui
-
render
public void render(int rw, int rh)Description copied from interface:IGuiRenders this GUI- Specified by:
renderin interfaceIGui- Overrides:
renderin classAbstractGui- Parameters:
rw- The render widthrh- The render height
-
resizeImmediate
public void resizeImmediate(int width, int height)Description copied from interface:IGuiResizes without waiting for the current loop to finish- Specified by:
resizeImmediatein interfaceIGui- Overrides:
resizeImmediatein classAbstractGui- Parameters:
width- The new widthheight- The new height
-
notify
public void notify(Events event, java.lang.Object... data)
- Specified by:
notifyin interfaceIObserver- Overrides:
notifyin classAbstractGui
-
-