-
Notifications
You must be signed in to change notification settings - Fork 0
UIManager.java
Raphael Lutz edited this page Jul 12, 2018
·
2 revisions
Manager for all UIObjects.
-
ArrayList<UIObject> objects
:ArrayList
containing all objects
-
UIManager()
: constructor of the class -
void tick()
: tick method being called at all frames, calls the tick method of each UIObject -
void render(Graphics g)
: render method being called at all frames, calls the render method of each UIObject -
void onMouseMove(MouseEvent e)
: method being called when mouse moves, calls the same method of each UIObject -
void onMouseRelease(MouseEvent e)
: method being called when mouse button is released, calls the same method of each UIObject -
void addObject(UIObject o)
: method to add an UIObject -
void removeObject(UIObject o)
: method to remove an UIObject -
ArrayList<UIObject> getObjects()
: getter forobjects
-
void setObjects(ArrayList<UIObject> objects)
: setter forobjects
- data/
- DataManager.java (TODO)
- ExpVarCalculator.java (TODO)
- VehicleCounter.java (TODO)
- elements/
- Cell.java (TODO)
- Connection.java (TODO)
- CrossRoad.java (empty) (TODO)
- Direction.java (TODO)
- MaxVehicleOutflow.java (TODO)
- MultiLaneRoundAbout.java (TODO)
- Phase.java (TODO)
- Ride.java (TODO)
- Road.java (empty) (TODO)
- RoundAbout.java (empty) (TODO)
- TrafficLightsSystem.java (TODO)
- Vehicle.java (TODO)
- graphics/
- Assets.java (TODO)
- Display.java (TODO)
- ImageLoader.java (TODO)
- SpriteSheet.java (TODO)
- Text.java (TODO)
- input/
- KeyManager.java (TODO)
- MouseManager.java (TODO)
- main/
- Main.java (TODO)
- Simulation.java (TODO)
- network/
- AllNetworkRides.java (empty) (TODO)
- Network.java (TODO)
- NetworkComputing.java (TODO)
- NetworkRendering.java (TODO)
- states/
- MenuState.java (TODO)
- SimSettingsState.java (TODO)
- SimState.java (TODO)
- State.java (TODO)
- ui/
- ClickListener.java (TODO)
- UIImageButton.java (TODO)
- UIManager.java (TODO)
- UIObject.java (TODO)
- UISlider.java (TODO)
- UISliderDouble.java (TODO)
- UISliderTriple.java (TODO)
- UITextButton.java (TODO)
- UITextSwitch.java (TODO)
- utils/
- Defaults.java (TODO)
- OriginDestinationCalculator.java (TODO)
- SortByPos.java (TODO)
- Utils.java (TODO)