示例#1
0
        public override bool Render(ISurfaceItem c, int x, int y)
        {
            if (x < 0 || x >= screenWidth || y < 0 || y >= screenHeight)
            {
                return(false);
            }

            BeginClcRecord();

            surface[x, y]    = c;
            surfaceSet[x, y] = true;

            EndClcRecord();

            return(true);
        }
示例#2
0
 public abstract bool Render(ISurfaceItem c, int x, int y);