/* ========================================================================== * ÆÄ ÀÏ : QuestPlane.h * ¸ñ Àû : * ÀÛ ¼º ÀÚ : ±è°¡¶÷ * ÀÛ ¼º ÀÏ : 2008-04-21 * ÁÖÀÇ»çÇ× : *===========================================================================*/ #pragma once #include "DepthPlane.h" const unsigned int QUEST_ACTIVE_TIME = 2000; const unsigned int QUEST_TEXT_LENGTH = 40; class cQuestPlane : public cPlane { public: cQuestPlane(); virtual ~cQuestPlane(); void Update( unsigned long time ); void Active( LPCTSTR msg, unsigned long color, NiPoint3& pos ); void DeActive() { mActive = false; } bool IsActive() { return mActive; } private: void Draw(); protected: TCHAR mQuestMsg[QUEST_TEXT_LENGTH]; unsigned int mMsgLen; unsigned long mQuestColor; unsigned int mMsgWidth; float mAlpha; /// Ãâ·Â À§Ä¡ unsigned int mPosX; unsigned int mPosY; /// Ȱ¼ºÈ­ ¿©ºÎ bool mActive; unsigned long mActiveTime; };