Handbook
Glossary
end-game-world ( world -- )
Game worlds
Prev:
begin-game-world ( world -- )
Next:
tick-game-world ( world -- )
Vocabulary
game
.
worlds
Inputs
world
a
game-world
Outputs
None
Word description
This generic word is called by the
end-world
method for
game-world
subclasses immediately after the game world stops the game loop.
See also
game-world
,
begin-game-world
,
tick-game-world
Definition
IN:
game.worlds
GENERIC:
end-game-world
( world -- )
Methods
USING:
accessors
chipmunk.demo
chipmunk.ffi
game.worlds
kernel
;
M:
chipmunk-world
end-game-world
space>>
[
cpSpaceFreeChildren
]
[
cpSpaceFree
]
bi
;
USING:
fluids
game.worlds
kernel
;
M:
fluids-world
end-game-world
drop
;
USING:
accessors
game.worlds
kernel
opengl
opengl.demos.compute
opengl.shaders
opengl.textures
;
M:
gl4compute-world
end-game-world
dup
compute-program>>
delete-gl-program
dup
program>>
delete-gl-program
dup
texture>>
delete-texture
dup
vbo>>
delete-gl-buffer
dup
vao>>
delete-vertex-array
drop
;
USING:
accessors
game.worlds
kernel
opengl
opengl.demos.gl4
opengl.shaders
;
M:
gl4demo-world
end-game-world
dup
testing-program>>
delete-gl-program
dup
vbo>>
delete-gl-buffer
dup
vao>>
delete-vertex-array
drop
;
USING:
accessors
game.worlds
gml.viewer
kernel
models
;
M:
gml-viewer-world
end-game-world
[
dup
selected>>
remove-connection
]
[
dup
model>>
remove-connection
]
bi
;
USING:
game.worlds
kernel
;
M:
object
end-game-world
drop
;
USING:
accessors
combinators
destructors
game.worlds
opengl.shaders
opengl.textures
terrain
;
M:
terrain-world
end-game-world
{
[
terrain-mesh>>
dispose
]
[
terrain-program>>
delete-gl-program
]
[
terrain-texture>>
delete-texture
]
[
sky-program>>
delete-gl-program
]
[
sky-texture>>
delete-texture
]
}
cleave
;