// **********************************************************************
//                            OpenAlchemist
//                        ---------------------
//
//  File        : DemoPlayer.h
//  Description : 
//  Author      : Guillaume Delhumeau <guillaume.delhumeau@gmail.com>
//  License     : GNU General Public License 2 or higher
//
// **********************************************************************

#ifndef _DEMO_PLAYER_H_
#define _DEMO_PLAYER_H_

#include <SDL.h>

#include "Piece.h"
#include "Board.h"
#include "KeyboardKey.h"
#include "ProgressBar.h"
#include "Player.h"

/**
* Implements the demo player, keys events for going left, right & falling
* and contains his board.
*/
class DemoPlayer : public Player{

public:

	/** Constructor	*/
	DemoPlayer();

	/** Checking key events	*/
	void events();

	/** Update player */
	void update();

	/** Resume (if game mode is paused)	*/
	void resume();

	/** Make a my_new game */
	void new_game();

	inline virtual bool is_human(){ return false; }

};

#endif
