]> gitweb.factorcode.org Git - factor.git/blobdiff - extra/game/worlds/worlds-docs.factor
factor: trim using lists
[factor.git] / extra / game / worlds / worlds-docs.factor
index c10ae4056130bd70c3133b29d6ce9a518828bc43..a65ed0ef8cdac64dd743098a2e8a536246db9369 100644 (file)
@@ -1,12 +1,13 @@
-! (c)2009 Joe Groff bsd license
-USING: audio.engine game.loop help.markup help.syntax kernel math method-chains
-ui ui.gadgets.worlds words ;
+! Copyright (C) 2009 Joe Groff.
+! See http://factorcode.org/license.txt for BSD license.
+USING: audio.engine game.loop help.markup help.syntax
+ui.gadgets.worlds ;
 IN: game.worlds
 
 HELP: game-attributes
 { $class-description "Extends the " { $link world-attributes } " tuple class with extra attributes for " { $link game-world } "s:" }
 { $list
-{ { $snippet "tick-interval-micros" } " specifies the number of microseconds between consecutive calls to the world's " { $link tick-game-world } " method by the game loop. An integer greater than zero must be provided." }
+{ { $snippet "tick-interval-nanos" } " specifies the number of nanoseconds between consecutive calls to the world's " { $link tick-game-world } " method by the game loop. An integer greater than zero must be provided." }
 { { $snippet "use-game-input?" } " specifies whether the game world should initialize the " { $vocab-link "game.input" } " library for use by the game. False by default." }
 { { $snippet "use-audio-engine?" } " specifies whether the game world should manage an " { $link audio-engine } " instance. False by default." }
 { { $snippet "audio-engine-device" } " specifies the string name of the OpenAL device the audio engine, if any, should try to open. The default value of " { $link POSTPONE: f } " attempts to open the default OpenAL device." }
@@ -37,7 +38,7 @@ HELP: tick-game-world
 { game-world begin-game-world end-game-world tick-game-world } related-words
 
 ARTICLE: "game.worlds" "Game worlds"
-"The " { $vocab-link "game.worlds" } " vocabulary provides a " { $link world } " subclass that integrates with " { $vocab-link "game.loop" } " and optionally " { $vocab-link "game.input" } " and " { $vocab-link "audio.engine" } " to quickly provide game infrastructure." 
+"The " { $vocab-link "game.worlds" } " vocabulary provides a " { $link world } " subclass that integrates with " { $vocab-link "game.loop" } " and optionally " { $vocab-link "game.input" } " and " { $vocab-link "audio.engine" } " to quickly provide game infrastructure."
 { $subsections
     game-world
     game-attributes