Commit graph

4 commits

Author SHA1 Message Date
NorbiPeti
6dce87fb66 Documentation, added invalid block ID, error handling 2020-05-17 23:46:55 +02:00
NorbiPeti
1c5ce37fce Add debug interface API and improve block API
Added API for adding more information on the debug display (not object-oriented yet)
Removed the setter for block type to ensure stability
Made the block API return defaults if the block no longer exists
Added property to check if the block exists
Made a struct for the block's color property
Added missing block IDs
2020-05-17 23:46:31 +02:00
NorbiPeti
6f8241554d Add block type and color properties 2020-05-15 17:42:04 -04:00
NorbiPeti
ff57a16565 Create Block class with existing functionality
Placement, movement, rotation, removal
Block looked at (in Player class), connected blocks
2020-05-15 17:42:04 -04:00