From 425da65ed46061303604610bb539d6495b2b1f3f Mon Sep 17 00:00:00 2001 From: anon5 Date: Mon, 21 Jun 2021 18:47:26 +0000 Subject: Add high-level protocol (de)serialization --- light.go | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 light.go (limited to 'light.go') diff --git a/light.go b/light.go new file mode 100644 index 0000000..b086591 --- /dev/null +++ b/light.go @@ -0,0 +1,13 @@ +package mt + +const ( + MaxLight = 14 // Maximum artificial light. + SunLight = 15 +) + +type LightBank uint8 + +const ( + Day LightBank = iota + Night +) -- cgit v1.2.3