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