setArt

public abstract boolean setArt(Art art)

Set the art on this painting

Return

False if the new art won't fit at the painting's current location

Parameters

art

The new art


public abstract boolean setArt(Art art, boolean force)

Set the art on this painting

Return

False if force was false and the new art won't fit at the painting's current location

Parameters

art

The new art

force

If true, force the new art regardless of whether it fits at the current location. Note that forcing it where it can't fit normally causes it to drop as an item unless you override this by catching the PaintingBreakEvent.