Untitled Game engine no.5  1.0
Public Member Functions | Public Attributes | List of all members
Engine::ButtonHook Struct Reference

#include <UI.hpp>

Inheritance diagram for Engine::ButtonHook:
Inheritance graph
[legend]
Collaboration diagram for Engine::ButtonHook:
Collaboration graph
[legend]

Public Member Functions

 ButtonHook (UIButton *button)
 button reference TODO: make smart pointer More...
 
void processCollision (const Ref< PhysicsEntity > &other) override
 

Public Attributes

UIButtonbutton
 

Detailed Description

Collider Hook for Button Collision.

Constructor & Destructor Documentation

◆ ButtonHook()

Engine::ButtonHook::ButtonHook ( UIButton button)
inlineexplicit

button reference TODO: make smart pointer

Generate a hook from a button reference.

Parameters
button

The documentation for this struct was generated from the following files: