Squeak Class Documentation category index | class index  
 
RelativeAnimation
  category: Balloon3D-Wonderland Time
  superclass: Animation
  subclasses:

A relative animation is any animation where the final state is relative to the initial state (for example, moving forward 1 meter). To reverse these animations we essentially use the same initial state and just reverse the vector to the final state (ex. we move back one meter).

instance methods
  copying
  copy
makeUndoVersion
reversed

  initialization
  object:update:getStartState:getEndState:getReverseState:style:duration:undoable:inWonderland:

  management
  prologue:

class methods
  no messages
 

instance methods
  copying top  
 

copy

Creates a copy of the animation


 

makeUndoVersion

Creates the undo version of an animation


 

reversed

Creates a reversed version of an animation


  initialization top  
 

object:update:getStartState:getEndState:getReverseState:style:duration:undoable:inWonderland:

This method initializes the Animation with all the information that it needs to run.


  management top  
 

prologue:

Extends the AbstractAnimation prologue by saving the start state of the animation.


class methods
  no messages top