summaryrefslogtreecommitdiff
path: root/game/scenary/plant.h
blob: 82ab0e5817a7bfd18a9f05ceb088f6d76a983699 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#pragma once

#include "foliage.h"
#include "game/worldobject.h"

class Location;

class Plant : public WorldObject {
	std::shared_ptr<const Foliage> type;
	InstanceVertices<glm::mat4>::InstanceProxy location;

	void
	tick(TickDuration) override
	{
	}

public:
	Plant(std::shared_ptr<const Foliage> type, const Location & position);
};