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

No comment. Sorry.

instance methods
  accessing
  board
currentGame
helpText

  actions
  autoMovingHome
boardAction:
cardMovedHome
gameLost
gameWon
help
inAutoMove
modelSleep
modelWakeUp
newGame
newGameNumber:
pickGame
promptForSeed
quit
sameGame
statistics

  as yet unclassified
  fillStyle

  initialization
  initialize
makeCardsRemainingDisplay
makeControlBar
makeControls
makeElapsedTimeDisplay
makeGameNumberDisplay
makeHelpButton
makeNewGameButton
makePickGameButton
makeQuitButton
makeSameGameButton
makeStatisticsButton
openInWindowLabeled:inWorld:

  private
  buildButton:target:label:selector:
wrapPanel:label:

  visual properties
  colorNearBottom
colorNearTop
defaultBackgroundColor

class methods
  class initialization
  initialize

  parts bin
  descriptionForPartsBin

instance methods
  accessing top  
 

board


 

currentGame


 

helpText


  actions top  
 

autoMovingHome


 

boardAction:


 

cardMovedHome


 

gameLost


 

gameWon


 

help


 

inAutoMove

Return true if an automove sequence is in progress


 

modelSleep

When fixing #contains: calls beware of reinventing #includes:


 

modelWakeUp

Maybe less performant but more readable


 

newGame


 

newGameNumber:


 

pickGame


 

promptForSeed


 

quit


 

sameGame


 

statistics


  as yet unclassified top  
 

fillStyle

Return the current fillStyle of the receiver.


  initialization top  
 

initialize


 

makeCardsRemainingDisplay


 

makeControlBar


 

makeControls


 

makeElapsedTimeDisplay


 

makeGameNumberDisplay


 

makeHelpButton


 

makeNewGameButton


 

makePickGameButton


 

makeQuitButton


 

makeSameGameButton


 

makeStatisticsButton


 

openInWindowLabeled:inWorld:


  private top  
 

buildButton:target:label:selector:

wrap a button or switch in an alignmentMorph to provide some space around the button


 

wrapPanel:label:

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


  visual properties top  
 

colorNearBottom


 

colorNearTop


 

defaultBackgroundColor

Answer the color to be used as the base window color for a window whose model is an object of the receiver's class


class methods
  class initialization top  
 

initialize

Morph initialize


  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!