ToyMaker Game Engine 0.0.2
ToyMaker is a game engine developed and maintained by Zoheb Shujauddin.
Loading...
Searching...
No Matches
Interaction Layer

Files

file  interface_pointer_callback.hpp
 Contains classes that serve as interfaces for sim objects that wish to respond to click events.
 
file  query_click.hpp
 Contains the QueryClick class definition, responsible for calling pointer click callbacks for objects in its world that support it.
 
file  ui_button.hpp
 Contains the class representation of UI buttons used in this project.
 

Classes

class  ToyMaker::IUsePointer
 The interface used by aspects, objects, which cast pointer rays to interact with objects present in the world. More...
 
class  ToyMaker::ILeftClickable
 The interface used by aspects which wish to respond to mouse left click events (or equivalent). More...
 
class  ToyMaker::IHoverable
 The interface implemented by aspects which wish to respond to pointer hover related events. More...
 
class  ToyMaker::QueryClick
 The aspect responsible for conducting raycasts and calling pointer event callbacks on eligible objects. More...
 
class  ToyMaker::UIButton
 A UI component class for creating simple buttons comprised of a resizable panel and some text. More...
 

Functions

 ToyMaker::NLOHMANN_JSON_SERIALIZE_ENUM (UIButton::State, { {UIButton::State::ACTIVE, "active"}, {UIButton::State::HOVER, "hover"}, {UIButton::State::PRESSED, "pressed"}, {UIButton::State::INACTIVE, "inactive"}, })
 

Detailed Description