Handbook
Glossary
game-over?<< ( value object -- )
Vocabulary
accessors
Inputs
value
an
object
object
an
object
Outputs
None
Definition
IN:
accessors
GENERIC:
game-over?<<
( value object -- )
Methods
USING:
accessors
pong
slots.private
;
M:
pong-gadget
game-over?<<
22
set-slot
;
inline
USING:
accessors
kernel
slots
slots.private
snake-game.game
;
M:
snake-game
game-over?<<
[
dup
boolean?
[
\
boolean
bad-slot-value
]
unless
]
dip
9
set-slot
;
inline