vooga.levelEditor.controller
Class LevelEditorController
java.lang.Object
vooga.levelEditor.controller.LevelEditorController
public class LevelEditorController
- extends java.lang.Object
The umbrella class for the Level Editor controller. Pipes controller requests
to underlying classes.
- Author:
- Phil Puryear
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LevelEditorController
public LevelEditorController(LevelEditorModel model,
LevelEditorUI gui)
- Constructs a new controller with the given model and gui.
getMenuBarItems
public MenuBarItems getMenuBarItems()
- Returns the container class for the items in the menu bar.
showPropertiesForNewItem
public void showPropertiesForNewItem(java.lang.Class<? extends GameItem> clazz,
java.awt.Point dropPoint)
addGameItem
public void addGameItem(InstantiatedGameItemModel itemModel)
showPropertiesForItemAtIndex
public void showPropertiesForItemAtIndex(int selectedIndex)
removeGameItemAtIndex
public void removeGameItemAtIndex(int selectedIndex)