|
Bomberman
|
#include <ButtonComponent.hpp>
Public Member Functions | |
| WAL::Component * | clone (WAL::Entity &entity) const override |
| Clone a component for another or the same entity. More... | |
| ButtonComponent (WAL::Entity &entity) | |
| Initialize a new Button component. More... | |
| ButtonComponent (WAL::Entity &entity, WAL::Callback< WAL::Entity &, WAL::Wal & > callback) | |
| Constructor with the 3 callback. More... | |
| ButtonComponent & | setButtonLinks (WAL::Entity *up=nullptr, WAL::Entity *down=nullptr, WAL::Entity *left=nullptr, WAL::Entity *right=nullptr) |
| ButtonComponent (const ButtonComponent< T > &)=default | |
| A Controllable component is copy constructable. More... | |
| ~ButtonComponent () override=default | |
| default destructor More... | |
| ButtonComponent< T > & | operator= (const ButtonComponent< T > &)=default |
| A Button component default assign operator. More... | |
Public Member Functions inherited from WAL::Component | |
| Component & | operator= (const Component &)=delete |
| A component can't be assigned. More... | |
| virtual | ~Component ()=default |
| A virtual destructor. More... | |
| virtual void | onStart () |
| The entity or this component has just been enabled. More... | |
| virtual void | onStop () |
| The entity or this component has just been disable. More... | |
Static Public Member Functions | |
| static void | emptyButtonCallback (WAL::Entity &) |
| Empty button callback. More... | |
Public Attributes | |
| WAL::Callback< WAL::Entity &, WAL::Wal & > | onEvent |
| onEvent callback More... | |
| WAL::Entity * | _up |
| button which is at the top of this button More... | |
| WAL::Entity * | _down |
| button which is below of this button More... | |
| WAL::Entity * | _right |
| button which is on the right of this button More... | |
| WAL::Entity * | _left |
| button which is on the left of this button More... | |
Additional Inherited Members | |
Protected Member Functions inherited from WAL::Component | |
| Component (Entity &entity) | |
| A component can't be instantiated, it should be derived. More... | |
| Component (const Component &)=default | |
| A component can't be instantiated, it should be derived. More... | |
Protected Attributes inherited from WAL::Component | |
| Entity & | _entity |
| The entity that own this component. More... | |
|
inlineexplicit |
Initialize a new Button component.
|
inline |
Constructor with the 3 callback.
|
default |
A Controllable component is copy constructable.
|
overridedefault |
default destructor
|
inlineoverridevirtual |
Clone a component for another or the same entity.
| entity | The entity that owns the ne component. |
Implements WAL::Component.
|
inlinestatic |
Empty button callback.
|
default |
A Button component default assign operator.
|
inline |
| WAL::Entity* BBM::ButtonComponent< T >::_down |
button which is below of this button
| WAL::Entity* BBM::ButtonComponent< T >::_left |
button which is on the left of this button
| WAL::Entity* BBM::ButtonComponent< T >::_right |
button which is on the right of this button
| WAL::Entity* BBM::ButtonComponent< T >::_up |
button which is at the top of this button
| WAL::Callback<WAL::Entity &, WAL::Wal &> BBM::ButtonComponent< T >::onEvent |
onEvent callback
1.8.17