CMimrock.h 570 Bytes
Newer Older
Gerstrong's avatar
Gerstrong committed
1 2 3 4 5 6 7 8 9 10
/*
 * CMimrock.h
 *
 *  Created on: 18.09.2011
 *      Author: gerstrong
 */

#ifndef CMIMROCK_H_
#define CMIMROCK_H_

11
#include "engine/galaxy/common/ai/CStunnable.h"
Gerstrong's avatar
Gerstrong committed
12 13 14 15 16 17 18

namespace galaxy {

class CMimrock: public CStunnable
{
public:

19
	CMimrock(CMap *pmap, const Uint16 foeID, Uint32 x, Uint32 y);
Gerstrong's avatar
Gerstrong committed
20

Gerhard Stein's avatar
Gerhard Stein committed
21
	void getTouchedBy(CSpriteObject &theObject);
22
	bool isNearby(CSpriteObject &theObject);
Gerhard Stein's avatar
Gerhard Stein committed
23
	
Gerstrong's avatar
Gerstrong committed
24 25 26 27 28
	void process();
	void processSit();
	void processWalk();
	void processJump();
	void processBounce();
Gerhard Stein's avatar
Gerhard Stein committed
29 30 31
	
private:
    int mTimer;
Gerstrong's avatar
Gerstrong committed
32 33 34 35
};

} /* namespace galaxy */
#endif /* CMIMROCK_H_ */