Oxygen Engine
Modern C++ 3D Engine using OpenGL
Loading...
Searching...
No Matches
node.h
1#ifndef OE_SCENE_COMPONENT_NODE_H
2#define OE_SCENE_COMPONENT_NODE_H
3
4#include "component.h"
5
6namespace oe::scene
7{
8 class Manager;
9 class Node;
10
15 {
16 public:
23 oe::component::EntityComponent<Node>(entity)
24 {}
25
29 Node& getNode() const noexcept;
30
34 Manager& getSceneManager() const noexcept;
35 };
36}
37
38#endif
Component bound to a specific entity.
Definition component.h:80
Scene manager.
Definition manager.h:21
Parent class of components that can be bound to a Node.
Definition node.h:15
Manager & getSceneManager() const noexcept
Get scene manager of the node bound to this component.
NodeComponent(Node &entity)
Constructor.
Definition node.h:22
Node & getNode() const noexcept
Get node bound to this component.
Definition node.h:31
Scene related management (Render-agnostic Geometry, Manger, etc...)
Definition debug.h:19
Oxygen Engine common namespace.
Definition cursor.h:8