#include "plant.h" #include "location.h" Plant::Plant(std::shared_ptr type, const Location & position) : type {std::move(type)}, location {this->type->instances.acquire(position.getRotationTransform(), position.rot.y, position.pos)} { }