CitroFlex3ds 0.1
CitroFlex3DS is a lightweight game engine designed specifically for Nintendo 3DS homebrew development. It provides a simple framework for creating games and applications.
 
Loading...
Searching...
No Matches
ReturnButton Class Reference
Inheritance diagram for ReturnButton:
Objects::Rectangle Objects::Object

Protected Member Functions

void OnUpdate (Scene::Scene *scene) override
 Custom update logic (can be override to add custom logic before Drawing)
 
- Protected Member Functions inherited from Objects::Object
Input::InputManager * GetInputManager () const
 Getter for the InputManager.
 

Additional Inherited Members

- Public Member Functions inherited from Objects::Rectangle
virtual void Update (Scene::Scene *scene) override final
 Update and draw the rectangle.
 
- Public Member Functions inherited from Objects::Object
double get_x ()
 Get the X position.
 
void SetX (double new_x)
 Set the X position.
 
void AddX (double add_x)
 Add to the X position.
 
double get_y ()
 Get the Y position.
 
void SetY (double new_y)
 Set the Y position.
 
void AddY (double add_y)
 Add to the Y position.
 
virtual void Init ()
 Initialize the object.
 
void UpdateAttached ()
 Updates the objects attached to this instance.
 
void Attach (Object *obj)
 Attach an object to this object and set its relative position.
 
void SetScene (Scene::Scene *scene)
 Setter for the currentscene (called by the Scene instance)
 
Scene::Scene * GetScene () const
 Getter for the currentscene (called by the Scene instance)
 
void SetInputManager (Input::InputManager *manager)
 Setter for the inputmanager (called by the Scene instance)
 
- Public Attributes inherited from Objects::Rectangle
double width = 10
 Width of the rectangle.
 
double height = 10
 Height of the rectangle.
 
u32 color = Colors::clrWhite
 Color of the rectangle.
 
- Public Attributes inherited from Objects::Object
bool visible = true
 
std::vector< Objects::Object * > attachedElements
 
Object * parent = nullptr
 
int id = -1
 

Member Function Documentation

◆ OnUpdate()

void ReturnButton::OnUpdate ( Scene::Scene * scene)
inlineoverrideprotectedvirtual

Custom update logic (can be override to add custom logic before Drawing)

Parameters
sceneScene instance

Reimplemented from Objects::Object.


The documentation for this class was generated from the following file: