[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdenonbeta/daleks
From:       Ian Reinhart Geiser <geiseri () kde ! org>
Date:       2004-04-25 16:51:29
Message-ID: 20040425165129.19C759A66 () office ! kde ! org
[Download RAW message or body]

CVS commit by geiseri: 

use local method to update the board.


  M +1 -2      daleks.js   1.7


--- kdenonbeta/daleks/daleks.js  #1.6:1.7
@@ -14,5 +14,5 @@
 
 // Keypress even handler
-view.board.keyPressEvent = function(ev) { game.updateBoard( ev.key ); }
+view.board.keyPressEvent = function(ev) { keyPressEvent( ev ); }
 newGame.connect( newGame, 'activated()', this, 'startGame' );
 
@@ -244,5 +244,4 @@
         this.killDalek = function( x, y)
         {
-                //println( "Kill at " + x + "," + y);
                 --this.enemies;
                 ++this.score;


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic