end

public void end()

Ends the run when the player quits or leaves. The player gets their own state back and the level world is deleted.