Handbook
Glossary
run-tests ( -- )
Vocabulary
game
.
debug
.
tests
Inputs
None
Outputs
None
Definition
USING:
game.worlds
kernel
ui
ui.pixel-formats
;
IN:
game.debug.tests
:
run-tests
( -- )
[
f
T{
game-attributes
{
world-class
tests-world
}
{
grab-input?
t
}
{
title
"game.debug.tests"
}
{
pixel-format-attributes
{
windowed
double-buffered
T{
depth-bits
{
value 24
}
}
}
}
{
pref-dim
{
1024 768
}
}
{
tick-interval-nanos 16666666
}
{
use-game-input?
t
}
}
clone
open-window
]
with-ui
;