7 #include "math/vector3.h"
79 bool requiresDelivery_ =
true;
81 std::string strategyName;
82 Robot* owner =
nullptr;
Represents an entity in a physical system.
Definition: IEntity.h:22
Manages a picojson::object, works with JsonValue to provide implicit casting.
Represents a package in a physical system. Packages move using euler integration based on a specified...
Definition: Package.h:17
virtual Robot * getOwner() const
Returns the owner of the package.
virtual void handOff()
Gives the robot/owner this package.
virtual void initDelivery(Robot *owner)
Sets the attributes for delivery.
virtual bool requiresDelivery() const
Returns whether or not the package needs to be delivered.
Package(const JsonObject &obj)
Constructor.
virtual Vector3 getDestination() const
Gets the Package's destination.
virtual void update(double dt)
Updates the Package.
virtual void setStrategyName(std::string strategyName_)
Set the Strategy Name.
virtual std::string getStrategyName() const
Returns the name of the strategy for this package.
Represents a robot in a physical system.
Definition: Robot.h:19
a simple class used for vector math, most function are self explanatory
Definition: vector3.h:12