00001 /* ---------------------------------------------------------- */ 00002 /* myshipmanage.h */ 00003 /* ---------------------------------------------------------- */ 00004 00005 /*------------------------------------------------------------- */ 00012 /*----------------------------------------------------- 00013 Copyright (C) 2005 rero2@fumi <rero2@yuumu.org> 00014 All Rights Reserved. 00015 ------------------------------------------------------*/ 00016 00017 #ifndef MYSHIPMANAGE_H 00018 #define MYSHIPMANAGE_H 00019 00020 /*-------------------------------*/ 00021 /* include */ 00022 /*-------------------------------*/ 00023 00024 #include "lunavader.h" 00025 #include "basicsystem.h" 00026 #include "shootingobject.h" 00027 /* #include "myshotmanage.h" */ 00028 00029 /*-------------------------------*/ 00030 /* define */ 00031 /*-------------------------------*/ 00032 00033 /*-------------------------------*/ 00034 /* struct */ 00035 /*-------------------------------*/ 00036 00037 /*-------------------------------*/ 00038 /* class */ 00039 /*-------------------------------*/ 00040 00049 class MyShipManage : public ShootingObject 00050 { 00051 /* ----------------------------------- */ 00052 /* --- コンストラクタ・デストラクタ */ 00053 public: 00054 MyShipManage(); 00055 virtual ~MyShipManage(); 00056 00057 /* ----------------------------------- */ 00058 /* --- パブリックメンバ */ 00059 public: 00060 00061 /* ----------------------------------- */ 00062 /* --- プライベートメンバ */ 00063 private: 00065 // MyShotMan m_ShotMan; 00067 bool m_IsHit; 00069 int m_Wait; 00071 int m_Timer; 00073 float m_Bank; 00074 00075 /* ----------------------------------- */ 00076 /* --- パブリックメソッド */ 00077 public: 00078 // void SetMyShotMan(MyShotManage* shot); 00079 void Init(); 00080 bool SetHitState(bool hit); 00081 bool GetHitState(); 00082 bool Tick(unsigned long inkey, 00083 unsigned long inkey_triger); 00084 00085 /* ----------------------------------- */ 00086 /* --- プライベートメソッド */ 00087 private: 00088 00089 }; 00090 00091 00092 #endif 00093