コード例 #1
0
        public override void Draw(RenderTarget target, RenderStates states)
        {
            if (IsItem)
            {
                BoxShape.FillColor = getRandomColor();
            }

            BoxShape.Draw(target, states);
        }