CSCI3081W Drone Delivery System
PackageColorDecorator.h
1 #ifndef PACKAGE_COLOR_DECORATOR_H_
2 #define PACKAGE_COLOR_DECORATOR_H_
3 
4 #include "PackageDecorator.h"
5 
11  private:
12  double hue = 0;
13  double saturation = 0;
14  double light = 0;
15 
16  public:
24  PackageColorDecorator(Package*, double = 0, double = 0, double = 0);
28  std::string getColor() const;
29 };
30 
31 #endif // PACKAGE_COLOR_DECORATOR_H_
Decorator allowing for packages to become colored in different combinations of colors,...
Definition: PackageColorDecorator.h:10
PackageColorDecorator(Package *, double=0, double=0, double=0)
Constructor for PackageColorDecorator, calls PackageDecorator constructor.
std::string getColor() const
Gets the package's color.
Base class decorator for Package that implements IEntityDecorator Package template,...
Definition: PackageDecorator.h:13
Represents a package in a physical system. Packages move using euler integration based on a specified...
Definition: Package.h:17