2 #include <SDXFrameWork.h>
3 #include <Framework/ModelMove.h>
4 #include <Framework/Module.h>
56 void SetTimer(
int フレーム数)
64 Model( 当たり判定 , デフォルトスプライト ),
92 void SetRemoveFlag(
bool 消滅フラグ)
double power
範囲外処理を行うかフラグ
Definition: Object.h:29
int lifeTime
攻撃属性
Definition: Object.h:31
virtual void Act()
Update時の行動処理
Definition: Object.h:104
bool isRemove
発生してから経過したフレーム数
Definition: Object.h:27
ShapeとSpriteをまとめて、2Dモデルを表すクラス.
Definition: Model.h:12
矩形を表す図形クラス.
Definition: Shape.h:689
Belong belong
生存期間
Definition: Object.h:32
ModelにSTG用の機能を追加したクラス
Definition: Object.h:21
void AnimeUpdate()
アニメーションを更新する.
Definition: Model.h:108
virtual void Damaged(double damage, int attribute)
攻撃された時の処理
Definition: Object.h:113
virtual bool RemoveCheck(Rect *存在可能範囲)
所属するレイヤー
Definition: Object.h:35
bool GetRemoveFlag()
消滅フラグの取得
Definition: Object.h:87
Belong GetBelong()
所属を取得
Definition: Object.h:98
virtual void React()
ダメージを受けた時の処理
Definition: Object.h:110
bool isOutCheck
消滅フラグ
Definition: Object.h:28
int attribute
攻撃力
Definition: Object.h:30
int GetTimer()
発生後経過時間を返す
Definition: Object.h:71
2Dモデルに貼り付けるスプライトを表す抽象クラス.
Definition: Sprite.h:15
Object(Shape *当たり判定, Sprite *デフォルトスプライト, double 攻撃力=0, Belong 所属=Belong::Etc)
説明
Definition: Object.h:63
virtual void Remove()
消滅時の処理
Definition: Object.h:107
位置情報を持つ図形の抽象クラス.
Definition: Shape.h:16
virtual void Attack(Object *攻撃対象)
衝突した相手に攻撃する
Definition: Object.h:51
virtual void Update()
状態の更新
Definition: Object.h:79
Modelの移動を行うクラス.
Definition: ModelMove.h:8