コード例 #1
0
        public void FillBlock(BlockState block)
        {
            _blocks.Fill(BlockPalette.IdForBlock(block));

            if (block == AirBlock)
            {
                IsEmpty = true;
            }
            else
            {
                IsEmpty = false;
            }
        }