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

No comment. Sorry.

instance methods
  accessing
  actionSelector
actionSelector:
adjustTiles
protoTile
protoTile:
target
target:
tileAt:

  actions
  blowUp
clearMines:
countFlags:
findMines:
selectTilesAdjacentTo:
step
stepOnTile:
stepTime
tileClickedAt:newSelection:modifier:

  geometry
  extent:

  initialization
  initialize
resetBoard
setMines:

  preferences
  preferredColumns
preferredMines
preferredRows

class methods
  as yet unclassified
  includeInNewMorphMenu

instance methods
  accessing top  
 

actionSelector


 

actionSelector:


 

adjustTiles

reset tiles


 

protoTile


 

protoTile:


 

target


 

target:


 

tileAt:


  actions top  
 

blowUp


 

clearMines:


 

countFlags:


 

findMines:


 

selectTilesAdjacentTo:

{-1@0. 0@-1. 1@0. 0@1} do:


 

step

Do some periodic activity. Use startStepping/stopStepping to start and stop getting sent this message. The time between steps is specified by this morph's answer to the stepTime message. The generic version dispatches control to the player, if any. The nasty circumlocation about owner's transformation is necessitated by the flexing problem that the player remains in the properties dictionary both of the flex and the real morph. In the current architecture, only the top renderer's pointer to the player should actually be honored for the purpose of firing.


 

stepOnTile:


 

stepTime

Answer the desired time between steps in milliseconds. This default implementation requests that the 'step' method be called once every second.


 

tileClickedAt:newSelection:modifier:

self halt.


  geometry top  
 

extent:

constrain the extent to be a multiple of the protoTile size during resizing


  initialization top  
 

initialize


 

resetBoard


 

setMines:


  preferences top  
 

preferredColumns


 

preferredMines


 

preferredRows


class methods
  as yet unclassified top  
 

includeInNewMorphMenu

Return true for all classes that can be instantiated from the menu