CSCI3081W Drone Delivery System
Human.h
1 #ifndef HUMAN_H_
2 #define HUMAN_H_
3 
4 #include "IEntity.h"
5 #include "IStrategy.h"
6 
12 class Human : public IEntity {
13  public:
18  Human(const JsonObject& obj);
19 
23  ~Human();
24 
29  void update(double dt);
30 
31  private:
32  static Vector3 kellerPosition;
33  IStrategy* movement = nullptr;
34  bool atKeller = false;
35 };
36 
37 #endif
Represents a human in a physical system. Humans move using euler integration based on a specified vel...
Definition: Human.h:12
void update(double dt)
Updates the human's position.
~Human()
Destructor.
Human(const JsonObject &obj)
Humans are created with a name.
Represents an entity in a physical system.
Definition: IEntity.h:22
Strategy interface.
Definition: IStrategy.h:11
Manages a picojson::object, works with JsonValue to provide implicit casting.
a simple class used for vector math, most function are self explanatory
Definition: vector3.h:12