Class: Yuki::Debug::MainUI
- Defined in:
- scripts/01100 Yuki/02401 Yuki__Debug MainUI.rb
Overview
Main UI of the debugger
Constant Summary collapse
- SCREEN_X =
Returns x position of the GUI on the screen.
322
Instance Method Summary collapse
-
#initialize(viewport) ⇒ MainUI
constructor
Create a new MainUI for the debug system.
-
#update
Update the gui.
Constructor Details
#initialize(viewport) ⇒ MainUI
Create a new MainUI for the debug system
10 11 12 13 14 15 16 |
# File 'scripts/01100 Yuki/02401 Yuki__Debug MainUI.rb', line 10 def initialize() @stack = UI::SpriteStack.new(, SCREEN_X) @viewport = create_class_text create_systag_ui create_groups_ui end |
Instance Method Details
#update
Update the gui
19 20 21 22 23 |
# File 'scripts/01100 Yuki/02401 Yuki__Debug MainUI.rb', line 19 def update update_class_text update_systag_ui update_groups_ui end |