public void display(Graphics g, int xS, int yS, int zoomLevel, int stateID) { if (antetype != null) { antetype.display(g, xS + x * zoomLevel - errorClipSzie.Width * zoomLevel / 2, yS + y * zoomLevel - errorClipSzie.Height * zoomLevel / 2, errorClipSzie.Width * zoomLevel, errorClipSzie.Height * zoomLevel, zoomLevel, actionID, frameID, false); } }