Скачиваний:
15
Добавлен:
01.05.2014
Размер:
939 б
Скачать
// Bullet.h: interface for the CBullet class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_BULLET_H__F8CE5B03_1896_11D2_A243_B52D916E203E__INCLUDED_)
#define AFX_BULLET_H__F8CE5B03_1896_11D2_A243_B52D916E203E__INCLUDED_

#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000

#include "..\Шарик\TBound.h"

extern LArc BulletTBL[];
class CBullet : public TBounce  
{
public:
	void SetAddrMan (LFsaAppl *pFsaAppl);
	CBullet();
	CBullet(CWnd* pW, int nNum, CSize sz=CSize(10,10), LArc *pTBL=BulletTBL);
	virtual ~CBullet();
	void SetCenter(int x, int y);
	void SetMove(int cx, int cy);
protected:
	int x1();
	int x2();
	int x3();
	void y4();
protected:
	LFsaAppl *pFsaShot;
};

typedef vector<CBullet*> TIArrayBullet;
typedef vector<CBullet*>::iterator TIIteratorBullet;
#endif // !defined(AFX_BULLET_H__F8CE5B03_1896_11D2_A243_B52D916E203E__INCLUDED_)
Соседние файлы в папке Shot