Elevate Engine 1
Loading...
Searching...
No Matches
Component.h File Reference

Go to the source code of this file.

Classes

class  Elevate::Component
 

Namespaces

namespace  Elevate
 

Macros

#define COMPONENT_LAYOUT(...)    ComponentLayout GetLayout() const override { return ComponentLayout(GetName(), __VA_ARGS__);}
 

Typedefs

using Elevate::GameObjectComponentGetter = std::function< Component *(std::weak_ptr< GameObject >)>
 
using Elevate::GameObjectComponentFactory = std::function< Component *(std::weak_ptr< GameObject >)>
 
using Elevate::GameObjectComponentDestructor = std::function< void(std::weak_ptr< GameObject >)>
 

Macro Definition Documentation

◆ COMPONENT_LAYOUT

#define COMPONENT_LAYOUT (   ...)     ComponentLayout GetLayout() const override { return ComponentLayout(GetName(), __VA_ARGS__);}

Definition at line 12 of file Component.h.

13 { return ComponentLayout(GetName(), __VA_ARGS__);}