blob: b39c28ba70d6bca10cd035df03939a774a054961 (
plain)
1
2
3
4
5
6
7
|
#include "plant.h"
#include "location.h"
Plant::Plant(std::shared_ptr<const Foliage> type, const Location & position) :
type {std::move(type)}, location {this->type->instances.acquire(position.getRotationTransform(), position.pos)}
{
}
|