added getcube

This commit is contained in:
Maxime Vorwerk
2023-08-25 15:50:14 +02:00
parent f5f6cac9e8
commit 77d3fa08ba

View File

@@ -18,3 +18,39 @@ function trypush!(S::Shape, t::Tuple{Int8, Int8, Int8})
return true return true
end end
end end
function getCube()
return Shape(
{
(0, 0, 0)
},
{
(0, 0, 0)
},
[
(0, 0, 0),
(0, 0, 0),
(0, 0, 0),
(0, 0, 0),
(0, 0, 0),
(0, 0, 0),
(0, 0, 0),
(0, 0, 0),
(0, 0, 0),
(0, 0, 0),
(0, 0, 0),
(0, 0, 0),
(0, 0, 0),
(0, 0, 0),
(0, 0, 0),
(0, 0, 0),
(0, 0, 0),
(0, 0, 0),
(0, 0, 0),
(0, 0, 0),
(0, 0, 0),
(0, 0, 0),
(0, 0, 0),
(0, 0, 0)
])
end