ScreenNetTester.h

Go to the documentation of this file.
00001 #ifndef _SCREEN_NET_TESTER_H
00002 #define _SCREEN_NET_TESTER_H
00003 
00004 #include "MercuryODE.h"
00005 #include "MercuryScreen.h"
00006 #include "MercuryShapes.h"
00007 #include "MercuryCamera.h"
00008 #include "MercuryLight.h"
00009 #include "MercuryNetClient.h"
00010 #include "MercuryNetServer.h"
00011 
00013 class ScreenNetTester : public MercuryScreen
00014 {
00015 public:
00016     ScreenNetTester( ) { }
00017     ScreenNetTester( const MString & name ):MercuryScreen( name ) { m_name = name; }
00018 
00019     virtual ~ScreenNetTester();
00020     virtual void Init();
00021     virtual void Update( const float dTime );
00022     virtual void Draw();
00023 
00024     CLASS_RTTI( ScreenNetTester, MercuryScreen );
00025 private:
00026     MercuryLight        m_light;
00027     MercuryODEWorld     m_pWorldClient;
00028     MercuryODEWorld     m_pWorldServer;
00029 
00030     MercuryNetClient    m_conClient;
00031     MercuryNetServer    m_conServer;
00032 };
00033 
00034 #endif

Hosted by SourceForge.net Logo