00001 /* ---------------------------------------------------------- */ 00002 /* bonusshipmanage.h */ 00003 /* ---------------------------------------------------------- */ 00004 00005 /*------------------------------------------------------------- */ 00012 /*----------------------------------------------------- 00013 Copyright (C) 2005 rero2@fumi <rero2@yuumu.org> 00014 All Rights Reserved. 00015 ------------------------------------------------------*/ 00016 00017 #ifndef BONUSSHIPMANAGE_H 00018 #define BONUSSHIPMANAGE_H 00019 00020 /*-------------------------------*/ 00021 /* include */ 00022 /*-------------------------------*/ 00023 00024 #include "lunavader.h" 00025 #include "bulletbase.h" 00026 00027 /*-------------------------------*/ 00028 /* define */ 00029 /*-------------------------------*/ 00030 00031 /*-------------------------------*/ 00032 /* struct */ 00033 /*-------------------------------*/ 00034 00035 /*-------------------------------*/ 00036 /* class */ 00037 /*-------------------------------*/ 00038 00045 class BonusShipManage : public BulletBase 00046 { 00047 /* ----------------------------------- */ 00048 /* --- コンストラクタ・デストラクタ */ 00049 public: 00050 BonusShipManage(); 00051 virtual ~BonusShipManage(); 00052 00053 /* ----------------------------------- */ 00054 /* --- パブリックメンバ */ 00055 public: 00056 00057 /* ----------------------------------- */ 00058 /* --- プライベートメンバ */ 00059 private: 00061 bool m_Appear; 00063 int m_Timer; 00065 int m_Charactor; 00067 int m_Score; 00068 00069 /* ----------------------------------- */ 00070 /* --- パブリックメソッド */ 00071 public: 00072 bool Start(); 00073 bool Tick(); 00074 bool GetState(); 00075 void SetCharactor(int chr); 00076 void SetScore(int score); 00077 int GetScore(); 00078 bool CheckHit(ShootingObject *shot); 00079 00080 /* ----------------------------------- */ 00081 /* --- プライベートメソッド */ 00082 private: 00083 00084 }; 00085 00086 00087 #endif 00088