?? idarturretdevice.hh
字號:
/////////////////////////////////////////////////////////////////////////////// File: irturretdevice.hh// Author: Richard Vaughan// Date: 22 October 2001// Desc: Provides a single interface to a collection of IDARs////// CVS info:// $Source: /cvsroot/playerstage/code/stage/src/models/Attic/idarturretdevice.hh,v $// $Author: rtv $// $Revision: 1.2 $/////////////////////////////////////////////////////////////////////////////#ifndef IDARTURRETDEVICE_HH#define IDARTURRETDEVICE_HH#include "idardevice.hh"class CIdarTurretDevice : public CPlayerEntity{private: CIdarDevice* idars[ PLAYER_IDARTURRET_IDAR_COUNT ]; public: CIdarTurretDevice( LibraryItem *libit, CWorld *world, CEntity *parent ); // a static named constructor - a pointer to this function is given // to the Library object and paired with a string. When the string // is seen in the worldfile, this function is called to create an // instance of this entitypublic: static CIdarTurretDevice* Creator( LibraryItem *libit, CWorld *world, CEntity *parent ) { return( new CIdarTurretDevice( libit, world, parent ) ); } virtual void Sync( void ); virtual void Update( double sim_time ); #ifdef INCLUDE_RTK2 rtk_fig_t* data_fig; // Initialise the rtk gui protected: virtual void RtkStartup(); // Finalise the rtk gui protected: virtual void RtkShutdown(); // Update the rtk gui protected: virtual void RtkUpdate(); #endif};#endif
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -