#include "plant.h" #include "location.h" Plant::Plant(std::shared_ptr type, const Location & position) : type {std::move(type)}, instance {this->type->instances.acquire(Renderable::commonLocationData.lock()->acquire(position))} { }