-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Just wrote this up. Please comment.
com.heisenbugdev.HeisenUI
--
// JSON, ModID
registerView(HashMap, String)
registerView(HeisenUI, String)
com.heisenbugdev.gui.HeisenGUIPool (Enum Singleton)
---
HashMap<HeisenUI> views;
// HashMap is JSON data.
static registerView(HashMap)
static registerView(HeisenUI)
// note, maybe call it HeisenGUIController
com.heisenbugdev.controller.HeisenViewController
---
HeisenViewController parentViewController;
HeisenUI view;
// how outlets are going to work
@UIOutlet("MyLabelOutlet")
HeisenUILabel outlet;
HeisenViewController()
// goes through the outlets in the view and plugs them here.
private connectOutlets()
private connectTargets()
// note, not called by constructor
init()
dismiss()
guiWillAppear()
guiDidAppear()
guiWillDisappear()
guiWillDisappear()
@UITarget("MyLabelTarget")
void target(HeisenUILabel label)
com.heisenbugdev.gui.HeisenGUI
---
HashMap<HeisenUI> elements; // map of all variables
HashMap<HeisenUIOutlet> outlets;
HashMap<HeisenUITarget> targets;
draw(float delta); // draws all the views in the map
awakeFromJSON() // loads the view pats
Metadata
Metadata
Assignees
Labels
No labels