~ubuntu-branches/ubuntu/utopic/brutalchess/utopic

« back to all changes in this revision

Viewing changes to humanplayer.h

  • Committer: Bazaar Package Importer
  • Author(s): Barry deFreese, Barry deFreese
  • Date: 2008-06-17 15:07:23 UTC
  • mfrom: (2.1.3 hardy)
  • Revision ID: james.westby@ubuntu.com-20080617150723-zwu4287ihws22pm6
Tags: 0.5.2+dfsg-3
[ Barry deFreese ]
* New maintainer. (Closes: #461885).
  + Debian Games Team <pkg-games-devel@lists.alioth.debian.org>
* Add watch file.
* Add VCS tags.
* Remove deprecated encoding tag from desktop file.
* Move copying in config.{sub,guess} to configure target.
  + Remove them on clean. (Closes: #482724).
* Replace xlibmesa-gl-dev build-dep with libgl1-mesa-dev.
* Bump Standards Version to 3.8.0. (No changes needed).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/***************************************************************************
2
 
*       Brutal Chess Pre-Alpha Build
3
 
*       - humanplayer.cpp
4
 
*
5
 
*       Authors: Maxwell Lazaroff, Michael Cook, and Joe Flint
6
 
*       Date Created : November 5th, 2005
7
 
*       Last Modified: November 5th, 2005
8
 
*
9
 
*       - description - Implements the HumanPlayer ChessPlayer.
10
 
***************************************************************************/
11
 
 
12
 
#ifndef _HUMANPLAYER_H
13
 
#define _HUMANPLAYER_H
14
 
 
15
 
#include "chessplayer.h"
16
 
#include "board.h"
17
 
#include "boardmove.h"
18
 
 
19
 
class 
20
 
HumanPlayer : public ChessPlayer
21
 
{
22
 
public :
23
 
 
24
 
    //******** CONSTRUCTOR ********
25
 
 
26
 
    HumanPlayer(const string& name="human") : ChessPlayer(name) {}
27
 
 
28
 
    virtual ChessPlayer* dup() const { return new HumanPlayer(); }
29
 
    
30
 
    virtual BoardMove decide_move(const Board & board, bool & player);
31
 
};
32
 
 
33
 
#endif // _HUMANPLAYER_H
34
 
 
35
 
// End of file humanplayer.h