CSCI 3081 - Drone Delivery System
All Classes Files Functions Variables Friends Pages
scene_viewer.h
1 #ifndef SCENE_VIEWER_H_
2 #define SCENE_VIEWER_H_
3 
4 #include "EntityProject/entity_system.h"
5 #include <string>
6 #include <vector>
7 
8 namespace entity_project {
9 
11 
14 class ISceneViewer {
15 public:
17  virtual ~ISceneViewer() {}
18 
20  virtual void SetEntitySystem(IEntitySystem* entitySystem) = 0;
22  virtual IEntitySystem* GetEntitySystem() const = 0;
24  virtual bool Run() = 0;
25 };
26 
27 }
28 
29 
30 #endif // SCENE_VIEWER_H_
virtual ~ISceneViewer()
Destructor.
Definition: scene_viewer.h:17
virtual bool Run()=0
Runs the visualization.
Abstact class for viewing a scene representing an entity system.
Definition: scene_viewer.h:14
virtual IEntitySystem * GetEntitySystem() const =0
Returns the current entity system.
An abstract class that represents an entity system that contains entities and updates over time...
Definition: entity_system.h:10
virtual void SetEntitySystem(IEntitySystem *entitySystem)=0
Sets the current entity system model that the viewer visualizes.
Definition: entity.h:7