An abstract class that represents an entity system that contains entities and updates over time. More...
#include <entity_system.h>

Public Member Functions | |
| virtual | ~IEntitySystem () | 
| Destructor.  | |
| virtual void | RunScript (const picojson::array &script, IEntitySystem *system) const =0 | 
| Runs a JSON script on an entity system as a set of commands.  More... | |
| virtual const std::vector< IEntity * > & | GetEntities () const =0 | 
| Returns the list of entities in the system.  | |
| virtual void | Update (float dt)=0 | 
| Updates the entity system by a time of dt.  | |
An abstract class that represents an entity system that contains entities and updates over time.
      
  | 
  pure virtual | 
Runs a JSON script on an entity system as a set of commands.
This method does not make any changes to the current entity system, but rather acts as a strategy for the entity system passed into the method. It is therefore possible to override how scripts are read in depending on the application.
Implemented in csci3081::DeliverySimulation, and csci3081::IDeliverySystem.
 1.8.13