MainMenu UML
---
config:
theme: forest
---
classDiagram
class MovableMenuItem {
# string nextScreenName
# List<Button> buttons
# List<TextInput> textInputs
# List<TextGameObject> texts
# AddButton(Button button) void
# AddTextInput(TextInput textInput) void
# AddText(TextGameObject text) void
# SwitchToNextScreen() void
}
MovableMenuItem <|-- MainMenu
class MainMenu {
- SpriteGameObject _gameLogo
- Button _buttonPlay
- Button _ButtonHowToPlay
- float _logoScale
- int _logoXPos
- int _logoYPos
- int _buttonXPos
- int _buttonPlayYPos
- int _buttonHowToPlayYPos
- CreateLogo() void
- CreateButtons() void
}
MovableMenuItem <|-- HowToPlayMenu
class HowToPlayMenu {
- Button _buttonReturn
- TextGameObject _HowToPlayText
- SpriteGameObject _gameLogo
- float _logoScale
- int _logoXPos
- int _logoYPos
- int _howToPlayXpos
- int _howToPlayYpos
- int _buttonReturnXPos
- int _buttonReturnYPos
- CreateLogo() void
- CreateTexts() void
- CreateButtons() void
}
Last update:
May 30, 2025