public override void OnPaint(GameWorld gameWorld, Graphics graphics) { graphics.DrawImage(Representation(gameWorld), (float)Shape[0].x, (float)Shape[0].y, (float)Width, (float)Height); }
public Image Representation(GameWorld gameWorld) { return(gameWorld.Type == WorldType.MainWorld ? ExitImageMain : ExitImageShadow); }