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

#include "foliage.h"
#include "game/worldobject.h"
#include "location.hpp"
#include "maths.h"
#include <glm/gtx/transform.hpp>

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, Location position);
};