/*
 ╔══════════════════════════════════════╗
 ║   ///////         Θ             Γ    ╟───────────────┐
 ║       //     Γ              Ω        ║ Thomas Powers │▌
 ║  Γ   //              Γ               ║ April 22 2010 │▌
 ║	   //  ZOMBIES & Landmines          ╟───────────────┘▌
 ║    //                        Θ       ║▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
 ║   //       Γ               Γ     ▒   ║▌
 ║Γ /////////////////////               ║▌
 ╚══════════════════════════════════════╝▌
  ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
*/

class zombie
{
	public:
	// zombie constructor
	zombie() {}
	void init(position playerPos);

	// zombie destructor (I thought that was the player's job)
	~zombie();

	// returns true if the move resulted in killing the player
	bool move(position goal, int maxDelay, bool realTime);

	void checkStatus();

	bool isAlive() { return alive; }

	private:
	int moveDelay;
	position myPosition;
	bool alive;
	void die();
	clock_t lastMoveTick;
	square previousSquare;
};