]> gitweb.factorcode.org Git - factor.git/blobdiff - extra/tetris/gl/gl.factor
Harmonize spelling
[factor.git] / extra / tetris / gl / gl.factor
index 561af386f491016604c5fbe7f6393d37941623d2..e0565c8aa01702d79d58da4dc31b8d49c5bd941e 100644 (file)
@@ -1,8 +1,8 @@
 ! Copyright (C) 2006, 2007, 2008 Alex Chapman
 ! See http://factorcode.org/license.txt for BSD license.
-USING: accessors arrays colors colors.constants combinators
-kernel math opengl opengl.gl sequences tetris.game tetris.piece
-;
+
+USING: accessors arrays colors combinators kernel math opengl
+opengl.gl sequences tetris.game tetris.piece ;
 
 IN: tetris.gl
 
@@ -15,10 +15,10 @@ IN: tetris.gl
     piece-blocks [ draw-block ] each ;
 
 : draw-piece ( piece -- )
-    dup tetromino>> colour>> gl-color draw-piece-blocks ;
+    dup tetromino>> color>> gl-color draw-piece-blocks ;
 
 : draw-next-piece ( piece -- )
-    dup tetromino>> colour>>
+    dup tetromino>> color>>
     >rgba-components drop 0.2 <rgba> gl-color draw-piece-blocks ;
 
 ! TODO: move implementation specific stuff into tetris-board