gdk-graphics  1b6d84e044c2c953fd7c9501e628a67e80f4da0d
entity_owner.h
1 // © Joseph Cameron - All Rights Reserved
2 
3 #ifndef GDK_GFX_OWNER_H
4 #define GDK_GFX_OWNER_H
5 
6 #include <memory>
7 #include <vector>
8 
9 namespace gdk { class scene; }
10 
11 namespace gdk
12 {
22  {
24  friend gdk::scene;
25 
27  virtual std::vector<std::shared_ptr<const entity>> get_entities() const = 0;
28 
29  public:
30  virtual ~entity_owner() = default;
31  };
32 }
33 
34 #endif
35 
Definition: camera.h:9
a 3d environment within which cameras draw entities
Definition: scene.h:18
library facing interface for user-defined types that own entities
Definition: entity_owner.h:21