com.theoworlds.TheoEditor |
TheoEditor class - Theo MapEditor application main class
1.0
© TheoWorlds.com, 2007-2008.
| com. | TheoEditor class - Theo MapEditor application main class |
| Variables | |
| _ui | |
| _modeEdition | |
| _world | |
| _catalogue | stores the catalogue data loaded from XML. |
| _anyCharacterLibraryParams | |
| Functions | |
| TheoEditor | |
| initConfig | |
| init | Initialization. |
| onLoadXMLMap | |
| initUI | UI initialization |
| onKeyDown | |
| onMouseUp | |
| onMouseMove | |
| onMouseDown | |
| wHandler | Handles World UI events super class World has a special handler called worldHandler - we DO NOT overwrite it the structure of the object is the same as in uiHandler Object |
| uiGlobalsHandler | handles UI events that don’t affect the Map Editor mode |
| uiHandler | Hanles the UI events |
| parseCatalogueLibraries | |
| onParsedMapXMLLibrary | event generated when the symbols of a library are loaded and parsed |
| createNewWorld |
private var _ui: MapEditorUI
private var _modeEdition: Object
private var _world: WorldEditor
stores the catalogue data loaded from XML.
private var _catalogue: XML
private var _anyCharacterLibraryParams: CharacterSettings
public function TheoEditor( gui: ITheoUI )
private function initConfig():Void
Initialization.
private function init():Void
private function onLoadXMLMap( success: Boolean ):Void
UI initialization
private function initUI():Void
function onKeyDown():Void
function onMouseUp():Void
function onMouseMove():Void
function onMouseDown():Void
Handles World UI events super class World has a special handler called worldHandler - we DO NOT overwrite it the structure of the object is the same as in uiHandler Object
private function wHandler( o: Object ):Void
handles UI events that don’t affect the Map Editor mode
private function uiGlobalsHandler( o: Object ):Void
Hanles the UI events
private function uiHandler( o: Object ):Void
private function parseCatalogueLibraries():Void
event generated when the symbols of a library are loaded and parsed
private function onParsedMapXMLLibrary():Void
private function createNewWorld( mapInfo: Object ) : Void