Delivery man. More...
#include <delivery_man.hpp>
Public Member Functions | |
void | DeliverPackage (std::size_t distance) |
Deliver a package. | |
DeliveryMan (std::size_t speed) | |
Initialize a delivery man instance. | |
Private Attributes | |
std::size_t | _speed |
Delivery man speed from 1 to 10. |
Delivery man.
Definition at line 7 of file delivery_man.hpp.
DeliveryMan::DeliveryMan | ( | std::size_t | speed | ) | [inline] |
Initialize a delivery man instance.
speed | Delivery man speed from 1 to 10. |
Definition at line 29 of file delivery_man.hpp.
void DeliveryMan::DeliverPackage | ( | std::size_t | distance | ) | [inline] |
Deliver a package.
distance | Distance the package has to travel. |
Definition at line 13 of file delivery_man.hpp.
std::size_t DeliveryMan::_speed [private] |
Delivery man speed from 1 to 10.
Definition at line 35 of file delivery_man.hpp.