FighterInfo.h
资源名称:Fly ight.zip [点击查看]
上传用户:baina_li
上传日期:2013-03-23
资源大小:960k
文件大小:1k
源码类别:
射击游戏
开发平台:
Visual C++
- #if !defined(AFX_FIGHTERINFO_H__27FFB73F_888A_11D2_B7EB_A8B374AB7551__INCLUDED_)
- #define AFX_FIGHTERINFO_H__27FFB73F_888A_11D2_B7EB_A8B374AB7551__INCLUDED_
- #if _MSC_VER >= 1000
- #pragma once
- #endif // _MSC_VER >= 1000
- // FighterInfo.h : header file
- //
- /////////////////////////////////////////////////////////////////////////////
- // CFighterInfo window
- class CFighterInfo : public CObject
- {
- // Construction
- public:
- CFighterInfo();
- // Attributes
- public:
- // Operations
- public:
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CFighterInfo)
- //}}AFX_VIRTUAL
- // Implementation
- public:
- void PrintSky(int nSky[10][10], LPCTSTR buf);
- int m_nSky[10][10];
- CPoint GetHeadPos();
- void SetItInSky();
- BOOL IsSkyValid();
- BOOL IsFighterValid();
- BOOL SetFighterPosition(int nDir);
- void SetHeadPos(CPoint ptPos);
- virtual ~CFighterInfo();
- private:
- CPoint m_ptPos[10];
- int m_nDir;
- CPoint m_ptHeadPos;
- };
- /////////////////////////////////////////////////////////////////////////////
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_FIGHTERINFO_H__27FFB73F_888A_11D2_B7EB_A8B374AB7551__INCLUDED_)