#4 Add API to remove blocks, change PlaceBlock return type and others

Merged
NGnius merged 2 commits from removal into master 4 years ago
  • Created a block removal API that takes a block's ID
  • Created a BlockUtility class that currently has a method to find the block the player is looking at
  • Removed IsBuildMode() and IsSimulationMode() methods from the block engines as they are just calling the GameState API
  • Changed the Placement.PlaceBlock() method's return type from bool to the block's ID or null
* Created a block removal API that takes a block's ID * Created a BlockUtility class that currently has a method to find the block the player is looking at * Removed IsBuildMode() and IsSimulationMode() methods from the block engines as they are just calling the GameState API * Changed the Placement.PlaceBlock() method's return type from bool to the block's ID or null
NorbiPeti added the
enhancement
label 4 years ago
NorbiPeti deleted branch removal 4 years ago
The pull request has been merged as 2963517764.
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Due Date

No due date set.

Dependencies

This pull request currently doesn't have any dependencies.

Loading…
Cancel
Save
There is no content yet.