CBip.h 628 Bytes
Newer Older
1 2
#ifndef CBIP_H
#define CBIP_H
3
#include <engine/galaxy/common/ai/CGalaxyActionSpriteObject.h>
4

5 6 7 8 9 10

namespace galaxy
{

    
class CBip : public CGalaxyActionSpriteObject
11
{
12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
public:
    	CBip(CMap *pmap, const Uint16 foeID, const Uint32 x, const Uint32 y);
	
	/**
	 * When it is moving normally
	 */
	void processStanding();
		
	void processWalking();

	void processSquished();

	int checkSolidD( int x1, int x2, int y2, const bool push_mode );

	void process();

	/**
	 * What happens if the slug gets touched by another object
	 */
	void getTouchedBy(CSpriteObject &theObject);	
	
private:
    int mTimer;
};


38 39 40
};

#endif // CBIP_H