Handbook
Glossary
crate-cell
Vocabulary
gamelib
.
demos
.
parent-demo
Definition
USING:
gamelib.cell-object
;
IN:
gamelib.demos.parent-demo
TUPLE:
crate-cell
<
child-cell
image-path
;
Methods
USING:
accessors
combinators
gamelib.cell-object
gamelib.demos.parent-demo
kernel
;
M:
crate-cell
call-parent*
parent>>
dup
function>>
( board move parent -- board )
call-effect
drop
;
inline
USING:
accessors
gamelib.cell-object
gamelib.demos.parent-demo
images.loader
kernel
opengl.textures
;
M:
crate-cell
draw-cell-object*
rot
[
image-path>>
load-image
]
dip
<texture>
draw-scaled-texture
;