Exemplo n.º 1
0
 public void SetBlockWall(LegacyEdgesState walls)
 {
     data = (byte)((data & ~12) | ((int)walls << 2));
 }
Exemplo n.º 2
0
 public LegacyBlockInfo(BlockDirection direction, LegacyEdgesState edgesState, BlockShape shape)
 {
     data = (byte)((int)direction | ((int)edgesState << 2) | ((int)shape << 4));
 }