Squeak Class Documentation category index | class index  
 
SameGame
  category: Morphic-Games
  superclass: AlignmentMorph
  subclasses:

See SameGame>>helpString for an explanation of how to play

instance methods
  access
  board
board:
helpString
helpText
scoreDisplay

  actions
  help:
newGame
selection

  initialization
  buildButton:target:label:selector:
initialize
makeControls
wrapPanel:label:

class methods
  parts bin
  descriptionForPartsBin

instance methods
  access top  
 

board


 

board:


 

helpString


 

helpText


 

scoreDisplay


  actions top  
 

help:


 

newGame


 

selection

a selection was made on the board; get its count and update the displays


  initialization top  
 

buildButton:target:label:selector:

wrap a button or switch in an alignmentMorph to allow a row of buttons to fill space


 

initialize


 

makeControls


 

wrapPanel:label:

wrap an LED panel in an alignmentMorph with a label to its left


class methods
  parts bin top  
 

descriptionForPartsBin

If the receiver is a member of a class that would like to be represented in a parts bin, answer the name by which it should be known, and a documentation string to be provided, for example, as balloon help. When the 'nativitySelector' is sent to the 'globalReceiver', it is expected that some kind of Morph will result. The parameters used in the implementation below are for documentation purposes only!