You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First, this method toggles the state of the current cell. Then it sends the message ==value== to the object stored in the instance variable ==mouseAction==. In ==LOGame >> newCellAt: i at: j== we created the block ==[self toggleNeighboursOfCellAt: i at: j ]== which will all the neighbors of a cell when it is evaluated, and we assigned this block to the ==mouseAction== instance variable of the cell. Therefore sending the ==value== message causes this block to be evaluated, and consequently the state of the neighboring cells will toggle.
which will all the neighbors of a cell when it is evaluated
NewPharoByExample9/Chapters/FirstApplication/FirstApplication.pillar
Line 318 in e184a12
Looks like a verb is missing
https://github.com/SquareBracketAssociates/NewPharoByExample9/blob/e184a12b3ae769ed5eb164d1c3e5ed2a51326451/Chapters/FirstApplication/FirstApplication.pillar#L165C16-L165C21
Later in text referenced as
50 @ 50
https://github.com/SquareBracketAssociates/NewPharoByExample9/blob/e184a12b3ae769ed5eb164d1c3e5ed2a51326451/Chapters/FirstApplication/FirstApplication.pillar#L225C1-L225C872
I'm not sure about this one, but looks weird to me
The text was updated successfully, but these errors were encountered: