|
CeresEngine 0.2.0
A game development framework
|
A type that describes and provides type-erased operations on a entity action. More...
#include <CeresEngine/Entity/Action.hpp>
Public Member Functions | |
| EntityActionType (const EntityActionType &)=delete | |
| EntityActionType & | operator= (const EntityActionType &)=delete |
| EntityActionType (EntityActionType &&)=delete | |
| EntityActionType & | operator= (EntityActionType &&)=delete |
Static Public Member Functions | |
| template<typename A > | |
| static const EntityActionType & | get () noexcept |
The type instance for a action of the A. | |
Public Attributes | |
| const EntityActionID | actionID |
| The action type ID. | |
Protected Member Functions | |
| EntityActionType (const EntityActionID actionID) | |
Static Protected Attributes | |
| static EntityActionID | nextActionID = 0 |
| The next action ID to be statically allocated by the compiler. | |
Friends | |
| bool | operator== (const EntityActionType &lhs, const EntityActionType &rhs) noexcept |
Compares two EntityActionType instances for equality. | |
| bool | operator!= (const EntityActionType &lhs, const EntityActionType &rhs) noexcept |
Compares two EntityActionType instances for inequality. | |
A type that describes and provides type-erased operations on a entity action.
|
inlineexplicitprotected |
|
delete |
|
delete |
|
inlinestaticnoexcept |
The type instance for a action of the A.
This instance is unique for any given action type A and is safe to perform pointer comparisons on the type.
| A | The type of action to return the type descriptor for. |
|
delete |
|
delete |
|
friend |
Compares two EntityActionType instances for inequality.
If true, lhs and rhs instances represent different entityAction types.
|
friend |
Compares two EntityActionType instances for equality.
If true, lhs and `rhs instances represent the same entityAction type.
| const EntityActionID CeresEngine::EntityActionType::actionID |
The action type ID.
Used as a value that uniquely identifies the action.
|
inlinestaticprotected |
The next action ID to be statically allocated by the compiler.