Lazarus
Engine for creating roguelikes in C++
 All Classes Namespaces Functions
Updateable.h
1 #pragma once
2 
3 #include <lazarus/ECS/ECSEngine.h>
4 
5 namespace lz
6 {
16 {
17 public:
18  virtual ~Updateable() = default;
19 
28  virtual void update(ECSEngine& engine) = 0;
29 };
30 } // namespace lz
virtual void update(ECSEngine &engine)=0
Virtual update method.
Interface for objects that can be updated by the ECS engine when it ticks.
Definition: Updateable.h:15
Main driver to work with entities, components and systems.
Definition: ECSEngine.h:27