#ifndef PLAYER_H
#define PLAYER_H

#include "sprite.h"

class player : public sprite {
  public:
	player(int playernum = 0);

	// this function takes an input char and checks if that 'key' will
	// move the player and in what dir, subsequently calls move(int)
	void move(char c);
	void move(int dir);
	// used by the move function and perhaps warping?
	int setpos(int px, int py);
	void incscore(int s);
	void incbonus(int b);
	void resetscore();
	void resetbonus();
	bool isalive();
	void setlive(bool dolive);
	int squish(int dir);
	int getscore();
	int getbonus();
	int getx();
	int gety();
	
  private:
	int bonusmult;
	int score;
	bool live;
	int player_number;

	int x; int y;
};

#endif
