Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members  

TestSGController.h

Go to the documentation of this file.
00001 #ifndef __TEST_SGCONTROLLER_H
00002 #define __TEST_SGCONTROLLER_H
00003 
00004 #include "SG_Controller.h"
00005 #include "SG_Spatial.h"
00006 
00007 class TestSGController : public SG_Controller
00008 {
00009 public:
00010         TestSGController(){
00011         };
00012         virtual ~TestSGController()

00013         {
00014 
00015         }
00016         virtual bool Update(double time)

00017         {
00018                 SG_Spatial* ob = (SG_Spatial*)m_pObject;
00019                 ob->SetLocalPosition(ob->GetLocalPosition() + MT_Vector3(0,0,0.01));
00020                 return false;
00021         }
00022         virtual void SetSimulatedTime(double time) {};
00023 };
00024 #endif //__TEST_SGCONTROLLER_H

Generated at Thu Feb 1 13:03:13 2001 for Ketsji Game Engine by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000