From bb693756b9aace889f806a768b54655023d163ab Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Tue, 9 Jan 2024 20:17:55 +0000 Subject: Add the Illuminator (type) and Light (instance) classes --- game/scenary/light.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 game/scenary/light.h (limited to 'game/scenary/light.h') diff --git a/game/scenary/light.h b/game/scenary/light.h new file mode 100644 index 0000000..0b19535 --- /dev/null +++ b/game/scenary/light.h @@ -0,0 +1,19 @@ +#pragma once + +#include "game/worldobject.h" +#include "illuminator.h" + +class Location; + +class Light : public WorldObject { + std::shared_ptr type; + InstanceVertices::InstanceProxy location; + + void + tick(TickDuration) override + { + } + +public: + Light(std::shared_ptr type, const Location & position); +}; -- cgit v1.2.3