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

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

class Location;

class Light : public WorldObject {
	std::shared_ptr<const Illuminator> type;
	InstanceVertices<Illuminator::LocationVertex>::InstanceProxy location;

	void
	tick(TickDuration) override
	{
	}

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