[Orxonox-commit 469] r3044 - branches/netp3/src/orxonox/objects/worldentities

scheusso at orxonox.net scheusso at orxonox.net
Sun May 24 23:25:55 CEST 2009


Author: scheusso
Date: 2009-05-24 23:25:55 +0200 (Sun, 24 May 2009)
New Revision: 3044

Modified:
   branches/netp3/src/orxonox/objects/worldentities/PongBall.cc
Log:
clientside physics of pong now working


Modified: branches/netp3/src/orxonox/objects/worldentities/PongBall.cc
===================================================================
--- branches/netp3/src/orxonox/objects/worldentities/PongBall.cc	2009-05-24 20:38:06 UTC (rev 3043)
+++ branches/netp3/src/orxonox/objects/worldentities/PongBall.cc	2009-05-24 21:25:55 UTC (rev 3044)
@@ -55,6 +55,11 @@
     
     void PongBall::registerVariables()
     {
+        registerVariable( this->fieldWidth_ );
+        registerVariable( this->fieldHeight_ );
+        registerVariable( this->batlength_ );
+        registerVariable( this->speed_ );
+        registerVariable( this->relMercyOffset_ );
         registerVariable( this->batID_[0] );
         registerVariable( this->batID_[1], variableDirection::toclient, new NetworkCallback<PongBall>( this, &PongBall::applyBats) );
     }




More information about the Orxonox-commit mailing list