summaryrefslogtreecommitdiff
path: root/game/scenary/plant.cpp
blob: 2a79807c7952813f0a8807d7bbbff9cb798d99cb (plain)
1
2
3
4
5
6
7
#include "plant.h"
#include "location.hpp"

Plant::Plant(std::shared_ptr<const Foliage> type, const Location & position) :
	type {std::move(type)}, location {this->type->instances.acquire(position.getTransform())}
{
}