Commit graph

17 commits

Author SHA1 Message Date
Norbi Peti f30dcd251f Displaying blueprint before placing, enums, ToString()s
Added support for getting the player's current building mode (build, color, config, blueprint)
Added support for getting the current game's mode (building, playing, prefab etc.)
2020-11-14 02:52:16 +01:00
Norbi Peti 64b42830a3 Blueprint fixes, bump version, add block copy support
Fixed getting the selected blueprint
Fixed block groups not being assigned to first block
2020-11-13 21:40:32 +01:00
Norbi Peti d744aaab79 Add ability to create & move block groups & other stuff
Added a way to store block groups as blueprints
Blocks can be added/removed from block groups, although it doesn't work well atm
Added some patches to the test class in an attempt to debug an unrelated issue
Added a command to test placing a block group
Added a SelectedBlueprint property to the Player class
2020-11-13 17:02:28 +01:00
Norbi Peti 9e9f56881f Add hotfix blocks and Player.LocalPlayer 2020-10-02 14:52:37 +02:00
Norbi Peti f403feb298 Update to Gamecraft 2020.06.17.08.41 (preview)
Removed BlockIdentifiers.OWNED_BLOCKS as the original got replaced with an array
Added the correct group for each supported functional block
Removed EntityFactory property from IEntitySerializer as it is provided on deserialization
2020-07-11 00:30:58 +02:00
NGnius (Graham) 6f589f1744 Create Player tests 2020-07-01 13:43:56 -04:00
NGnius (Graham) 189c3ca2a5 Document App and Test additions (+ minor tweaks) 2020-06-23 13:49:42 -04:00
Norbi Peti 3dcce18ceb Add method to get selected blocks by player 2020-06-08 00:10:10 +02:00
Norbi Peti cae626197f Implement Equals for the OOPs & fix Player properties
Fixed setting player properties
Changed player rotation to float3
Added constructor for BlockColor with an index param
Improved Player.Exists() ~~hopefully~~
2020-06-05 00:20:35 +02:00
Norbi Peti f62211309e Added WaitForNextFrame() and fixed block scaling
A bit hacky, but it works
2020-06-04 01:42:13 +02:00
NGnius (Graham) 2d89b82759 Add player health and block-in-hand 2020-05-29 21:30:24 -04:00
Norbi Peti dca6fe4c1b Fixes, added SimBody class 2020-05-23 00:06:49 +02:00
NGnius (Graham) 9cb6917d28 Create custom error types and error catching 2020-05-15 17:42:04 -04:00
Norbi Peti 6f8241554d Add block type and color properties 2020-05-15 17:42:04 -04:00
Norbi Peti 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) 5168bfbad7 Document Player API 2020-05-15 17:42:04 -04:00
NGnius (Graham) e3b3fd5ef4 Implement Player OOP class 2020-05-15 17:42:04 -04:00