public Block GetBlockById(byte blockId) { Block block = null; if (blockId == 63) block = new CustomStandingSign(_gameManager); if (blockId == 68) block = new CustomWallSign(_gameManager); return block; }
public Block GetBlockById(byte blockId) { Block block = null; if (blockId == 63) { block = new CustomStandingSign(_gameManager); } if (blockId == 68) { block = new CustomWallSign(_gameManager); } return(block); }