Closed Ellipse0934 closed 6 years ago
1) Suggestions to improve pollBlockHits()
function code ?
2) Should getBlock(Tuple{Real,Real,Real})
be changed to getBlock(Tuple{Int,Int,Int})
? Blocks are only present at integer coordinates hence if the user enters a Float
it will be rounded and changed to an Int
.
3) Will function names like setting()
, save()
, restore()
conflict with anything else ? Should they be changed to something else ?
save
and restore
cannot be exported from this package as is. They should either be renamed, or not exported. If not exported, they can be called as PiCraft.save()
.. etc.
Other than that, looks good.
All functions have been flattened and are no longer part of modules.
clearEvents()
,pollBlockHits()
, camera module introduced.