Handbook
Glossary
tick-interval-nanos<< ( value object -- )
Vocabulary
accessors
Inputs
value
an
object
object
an
object
Outputs
None
Definition
IN:
accessors
GENERIC:
tick-interval-nanos<<
( value object -- )
Methods
USING:
accessors
game.worlds
kernel
math
slots
slots.private
;
M:
game-attributes
tick-interval-nanos<<
[
dup
integer?
[
\
integer
bad-slot-value
]
unless
]
dip
12
set-slot
;
inline
USING:
accessors
game.worlds
kernel
math
slots
slots.private
;
M:
game-world
tick-interval-nanos<<
[
dup
integer?
[
\
integer
bad-slot-value
]
unless
]
dip
44
set-slot
;
inline