Last active
October 6, 2017 06:45
-
-
Save AndrewWeston9/560e14047bd907b5a5db2f6455ac2e23 to your computer and use it in GitHub Desktop.
WorldManager.cs Snippet: Placing a block in the world.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public struct brickClass | |
{ | |
/// stores the type of brick. | |
public int brickType; | |
/// Stores the current health of the brick. 0 would mean it is destroyed. | |
public int brickHealth; | |
/// Stores the connection id for the player that placed the brick. Is -1 if generated by the server. | |
public int playerConnectionId; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment