Squeak Class Documentation category index | class index  
 
AtomMorph
  category: Morphic-Demo
  superclass: EllipseMorph
  subclasses:

No comment. Sorry.

instance methods
  as yet unclassified
  bounceIn:
drawOn:
infected
infected:
initialize
randomPositionIn:maxVelocity:
velocity
velocity:

class methods
  as yet unclassified
  includeInNewMorphMenu

instance methods
  as yet unclassified top  
 

bounceIn:

Move this atom one step along its velocity vector and make it bounce if it goes outside the given rectangle. Return true if it is bounced.


 

drawOn:

Note: Set 'drawAsRect' to true to make the atoms draw faster. When testing the speed of other aspects of Morphic, such as its damage handling efficiency for large numbers of atoms, it is useful to make drawing faster.


 

infected


 

infected:


 

initialize

Make a new atom with a random position and velocity.


 

randomPositionIn:maxVelocity:

Give this atom a random position and velocity.


 

velocity


 

velocity:


class methods
  as yet unclassified top  
 

includeInNewMorphMenu

Not to be instantiated from the menu