You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey, I have a quick suggestion, something that I did as I'm following your series. I went ahead and created a BlockIndexes enum so that I could refer to my blocks by name rather than trying to remember what byte they were assigned to. So when adding dirt, I add (byte) BlockIndexes.Dirt. I don't know if it'll help or not, but it might be a nice addition to make the code a bit more readable
The text was updated successfully, but these errors were encountered:
Hey, I have a quick suggestion, something that I did as I'm following your series. I went ahead and created a
BlockIndexes
enum so that I could refer to my blocks by name rather than trying to remember what byte they were assigned to. So when adding dirt, I add(byte) BlockIndexes.Dirt
. I don't know if it'll help or not, but it might be a nice addition to make the code a bit more readableThe text was updated successfully, but these errors were encountered: