From 1563ae5be6bc130a9b3a23464f7e28fdb1e87da3 Mon Sep 17 00:00:00 2001 From: LaG1924 <12997935+LaG1924@users.noreply.github.com> Date: Sat, 13 May 2017 19:01:56 +0500 Subject: 2017-05-13 --- code/Block.hpp | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 code/Block.hpp (limited to 'code/Block.hpp') diff --git a/code/Block.hpp b/code/Block.hpp new file mode 100644 index 0000000..7c780c1 --- /dev/null +++ b/code/Block.hpp @@ -0,0 +1,15 @@ +#pragma once + +struct Block { + Block(unsigned short idAndState, unsigned char light); + + Block(unsigned short id, unsigned char state, unsigned char light); + + Block(); + + ~Block(); + + unsigned short id:13; + unsigned char state:4; + unsigned char light:4; +}; \ No newline at end of file -- cgit v1.2.3