D:/simple_rts/include/TeamUpdater.h

Go to the documentation of this file.
00001 #pragma once
00002 
00003 #ifndef __TEAM_UPDATER_H__
00004 #define __TEAM_UPDATER_H__
00005 
00006 #include "Updater.h"
00007 
00008 #include "OgreFrameListener.h"
00009 using Ogre::FrameEvent;
00010 
00011 
00012 namespace ASR
00013 {
00014         class Team;
00015 
00016         class TeamUpdater : public Updater
00017         {
00018         // Data Storage
00019         // ----------------------------------------------------------------------------
00020         private:
00021                 Team*           mTeam;
00022                 float           mFadeTime;
00023         
00024         
00025         // Construction
00026         // ----------------------------------------------------------------------------
00027         public:
00028                 TeamUpdater ( Team* team );
00029                 ~TeamUpdater(void);
00030 
00031 
00032         // Updating
00033         // ----------------------------------------------------------------------------
00034         public:
00035                 // TODO: Clean this up into either both pointers or both references
00036                 bool updateAfterFrame ( const Ogre::FrameEvent& e, const Ogre::InputReader* inputDevice );
00037                 bool updateBeforeFrame ( const Ogre::FrameEvent& e, const Ogre::InputReader* inputDevice );
00038         };
00039 }
00040 
00041 #endif          // __TEAM_UPDATER_H__

Generated on Sun Jun 25 19:23:43 2006 for Valors End by  doxygen 1.4.7