env3d.scenecreator
Class UI
java.lang.Object
env3d.scenecreator.UI
public class UI
- extends java.lang.Object
Nested Class Summary |
static class |
UI.Mode
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UI
public UI(UI.Mode m)
load
public void load()
start
public void start()
save
public void save(java.lang.String gameString)
run
public void run()
- Doesn't work, BlueJ hangs when trying to invoke the Game.play() method
exit
public void exit()
createSceneNode
public SceneNode createSceneNode()
- Creates an EnvNode from the currently selected item
- Returns:
- a new EnvNode
getGame
public Game getGame()
isSceneCreatorMode
public boolean isSceneCreatorMode()
- Returns true if topPanel is visible (full scene creator mode).
- Returns:
getBluej
public bluej.extensions.BlueJ getBluej()
- Returns:
- the bluej
setBluej
public void setBluej(bluej.extensions.BlueJ bluej)
- Parameters:
bluej
- the bluej to set
getFrame
public javax.swing.JFrame getFrame()
getAssetDir
public java.lang.String getAssetDir()
setAssetDir
public void setAssetDir(java.lang.String dir)
getMode
public UI.Mode getMode()
getEditors
public java.util.ArrayList<SCTextEditor> getEditors()
main
public static void main(java.lang.String[] args)