Squeak Class Documentation category index | class index  
 
ActorState
  category: Morphic-Scripting Support
  superclass: Object
  subclasses:

Holds a record of data representing actor-like slots in the Morph, on behalf of an associated Player. Presently also holds onto the scriptInstantion objects that represent active scripts in an instance, but this will probably change soon.

instance methods
  initialization
  initializeFor:

  other
  addPlayerMenuItemsTo:hand:
costume
printOn:
printOnStream:

  pen
  choosePenColor:
choosePenSize
defaultPenColor
defaultPenSize
getPenArrowheads
getPenColor
getPenDown
getPenSize
liftPen
lowerPen
penColor:
setPenArrowheads:
setPenColor:
setPenDown:
setPenSize:

  position
  fractionalPosition
fractionalPosition:

  script instantiations
  instantiatedUserScriptsDictionary
instantiatedUserScriptsDictionary:

class methods
  no messages
 

instance methods
  initialization top  
 

initializeFor:


  other top  
 

addPlayerMenuItemsTo:hand:


 

costume


 

printOn:

Append to the argument, aStream, a sequence of characters that
identifies the receiver.


 

printOnStream:


  pen top  
 

choosePenColor:


 

choosePenSize


 

defaultPenColor


 

defaultPenSize


 

getPenArrowheads


 

getPenColor


 

getPenDown


 

getPenSize


 

liftPen


 

lowerPen


 

penColor:


 

setPenArrowheads:


 

setPenColor:


 

setPenDown:


 

setPenSize:


  position top  
 

fractionalPosition

Return my player's costume's position including the fractional part. This allows the precise position to be retained to avoid cummulative rounding errors, while letting Morphic do all its calculations with integer pixel coordinates. See the implementation of forward:.


 

fractionalPosition:


  script instantiations top  
 

instantiatedUserScriptsDictionary


 

instantiatedUserScriptsDictionary:

Used for copying code only


class methods
  no messages top