Commit graph

80 commits

Author SHA1 Message Date
6dce87fb66 Documentation, added invalid block ID, error handling 2020-05-17 23:46:55 +02:00
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
6f8241554d Add block type and color properties 2020-05-15 17:42:04 -04:00
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
NGnius (Graham)
42b21bc16d Rework engine inheritance structure 2020-05-15 17:42:04 -04:00
NGnius (Graham)
1f35b2a434 Upgrade to Harmony v2.0.0 2020-05-15 17:42:04 -04:00
NGnius (Graham)
934b542ea1 Fix build errors from GC update 2020-05-14 12:42:48 -04:00
83427b806e
Update to Gamecraft 2020.04.27.14.21 2020-04-28 15:59:22 +02:00
9609187cff
Created a BlockUtility class, changed PlaceBlock return type
Removed GameState methods from block APIs
Created a BlockUtility class to get the block the player is looking at
Changed the return type of PlaceBlock, returning the ID of the newly placed block or null
2020-04-13 02:21:36 +02:00
81f2f613f7
Add API to remove blocks 2020-04-13 01:31:06 +02:00
f231ea9f6d
Fix placement engine for latest GC and add block IDs 2020-04-09 01:14:21 +02:00
NGnius
d1c0556b9c Update to Gamecraft 2020.04.06.14.50 2020-04-07 13:05:00 -04:00
NGnius
2149458d96 Add inventory select block support 2020-04-02 09:50:30 -04:00
NGnius
5654c041c5 Fix LatestBlockID 2020-03-12 19:29:20 -04:00
b4e70fcebe
Update to GC 2020.03.11.11.02
Fixed compile issues and added new blocks
2020-03-12 23:38:32 +01:00
NGnius
fd98879ccd Add Tweakable stat support 2020-02-29 13:20:03 -05:00
NGnius
7519bc37ae Improve documentation 2020-02-25 18:05:13 -05:00
NGnius
feab9e38c9 Remove the thing 2020-02-25 18:05:02 -05:00
NGnius
0459bdf9d9 Modify & Fix signal API 2020-02-19 20:32:58 -05:00
eba490fbe8
Fix issues and add new block IDs 2020-02-08 22:05:16 +01:00
878ebdb491
Update to newer Gamecraft version 2020-02-07 01:25:31 +01:00
dd72f42cc2
Fix rotation parameter 2020-01-15 20:41:50 +01:00
NGnius (Graham)
cd6862bb29 Fix styling and docs 2020-01-03 19:54:35 -05:00
94ad78d1ee
Added block IDs, rotation doesn't work well 2020-01-03 14:38:59 +01:00
a7d23f4017
Add block placement API 2020-01-03 01:21:47 +01:00
NGnius (Graham)
b796751420 Fix signal API & docs and improve API Init 2019-12-25 16:16:17 -05:00
NGnius (Graham)
2df8da1af5 Add mostly reliable signal & channel API support 2019-12-25 14:25:53 -05:00
NGnius (Graham)
15a73ecfab Add missing public accessibility 2019-12-19 15:42:50 -05:00
NGnius (Graham)
f13d634a2c Fix breaking changes in Gamecraft v2019.12.17.15.48 2019-12-19 11:46:32 -05:00
NGnius (Graham)
0357728f0e Implement some common block operations 2019-12-16 20:55:52 -05:00