summaryrefslogtreecommitdiff
path: root/game/scenary/plant.cpp
blob: 4fb3cb5e8763b7a102c7ee4abd3cc36a7cb1de9e (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.getTransform())}
{
}