FighterInfo.h
上传用户:hydatong
上传日期:2022-08-07
资源大小:219k
文件大小:1k
- #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_)