Define how to apply a move to a frame