类图
2020-11-29 21:24:48 51 举报
类图设计
作者其他创作
大纲/内容
CGameObject
- m_ptPos
+ BOOL LoadImage()+ CPoint GetPoint()+ BOOL Draw()+ CRect GetRect()
Boos(第二关)
- int ming- int out- int sport- int speed
+ int BBombShoot()+ int BBBombShoot()
BBBomb(Boss大招)
- int Boosfire- int konkBoom
+ int ScoreLoss()+ int BloodLoss()+ int Dead()
CObject(所有对象基类)
BBomb(敌机榴弹)
- int flag- int ttt
int KonkLoss()int BombMove()
MyPlane(战机)
- static const int PLANE_WIDTH- static const int PLANE_HEIGHT- static CImageList m_Images- int m_nHorMotion- int m_nVerMotion- int m_nWait- int ming- int score- int scoree - int mum- int rank- int zhao
+ BOOL Fired()+int GetVerMotion() const+ void SetVerMotion()+ int GetHorMotion() const+ void SetHorMotion()
drop(打死敌机掉落物品)
- int speed //速度 - int sport //方向 - static const int DROP_HEIGHT - int f //掉落物品类型 - static CImageList m_Images
Boos(第一关)
- ming
MyGodness(我的精灵)
- int Speed- int Loop- int LiveTime
+ getPos()+ getScore()
Bomb(敌机普通子弹)
- static const int BOMB_HEIGHT- static CImageList m_Images- int f
CEnemy(敌机)
- static const int ENEMY_HEIGHT- static CImageList m_Images- int m_V //速度- int m_nImgIndex //图像索引- int m_nMotion //移动方向- int m_nWait //发射延时- int f
+ int GetMontion() const+ BOOL Fired()
MySonPlane(我的僚机)
- int Posision- int flag- int num- int Speed- int CanFuHuo
+ BOOL specialFied()+ MySonPlane getLocation()
Ball2(发射大招)
- int flag;- int shijian;- int fff;
+int ScoreGet()+int BloodGet()
Ball(发射子弹)
- int f- int t- static const int - BALL_HEIGHT- static CImageList m_Images- int m_nMotion
0 条评论
下一页