Squeak Class Documentation category index | class index  
 
FreeCellStatistics
  category: Morphic-Games
  superclass: Object
  subclasses:

No comment. Sorry.

instance methods
  actions
  changed
gameLost:
gameWon:
newSession
ok
reset
updateStreak

  initialization
  initialize

  printing
  print:type:on:
printOn:
printReplaysOn:
printSessionOn:
printStreaksOn:
printTotalOn:

  user interface
  buildButton:target:label:selector:
close
color
display
makeControls
makeOkButton
makeResetButton
makeStatistics
statsText
stringMorphFromPrintOn:

class methods
  instance creation
  includeInNewMorphMenu
new

instance methods
  actions top  
 

changed

Receiver changed in a general way; inform all the dependents by
sending each dependent an update: message.


 

gameLost:

Don't count multiple losses of the same game


 

gameWon:


 

newSession


 

ok


 

reset


 

updateStreak

I moved the code from #printWins:on: and #printLosses:on: here because
it is basically the same. I hope this increases the maintainability.
th 12/20/1999 20:41


  initialization top  
 

initialize


  printing top  
 

print:type:on:

I moved the code from #printWins:on: and #printLosses:on: here because it is basically
the same. I hope this increases the maintainability. - th 12/20/1999 20:37


 

printOn:

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


 

printReplaysOn:


 

printSessionOn:


 

printStreaksOn:


 

printTotalOn:


  user interface top  
 

buildButton:target:label:selector:

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


 

close


 

color


 

display


 

makeControls


 

makeOkButton


 

makeResetButton


 

makeStatistics


 

statsText


 

stringMorphFromPrintOn:


class methods
  instance creation top  
 

includeInNewMorphMenu


 

new

Answer a new instance of the receiver (which is a class) with no indexable variables. Fail if the class is indexable.