Skip to content

Commit

Permalink
adding pane
Browse files Browse the repository at this point in the history
  • Loading branch information
Ducasse committed Jun 11, 2024
1 parent de076b2 commit 58a6eb9
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions Chapters/MemoryGameModel.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,18 @@ MGCard >> printOn: aStream
nextPut: $)
```

In addition, we can extend the inspector to display information in the inspector.


```
MGCard >> inspectCard: aBuilder
<inspectorPresentationOrder: 1 title: 'card'>
| builder |
builder := StSimpleInspectorBuilder on: aBuilder.
builder key: 'card:' value: self symbol.
^ builder table
```


### Reviewing the game model

Expand Down

0 comments on commit 58a6eb9

Please sign in to comment.