1 //--------------------------------------------------------------------------
2 // Player.cc - Source file for the Player class
4 // Matthew E. Moses && Michael A. Long
7 // $Date: 1998/09/10 19:57:17 $
12 // $Log: Player.cc,v $
13 // Revision 1.4 1998/09/10 19:57:17 mlong
14 // lots of little bug fixes and a few new features
16 // Revision 1.3 1998/02/12 18:44:04 mlong
19 // Revision 1.2 1997/10/08 21:03:35 chess
20 // preparing for move to oracle machine at eworks.
22 // Revision 1.1 1997/05/16 03:22:36 chess
25 // Revision 1.1 1997/05/14 17:00:30 chess
29 //--------------------------------------------------------------------------
31 // static char RCSid[] = "$Id: Player.cc,v 1.4 1998/09/10 19:57:17 mlong Exp $";
35 //- Constructor -----------------------------------------------------------
36 Player::Player(char *n, int wt) {
41 //- Constructor -----------------------------------------------------------
42 Player::Player(char *n, float wt) {
47 //- Constructor -----------------------------------------------------------
48 Player::Player(char *n, double wt) {
53 //- Constructor -----------------------------------------------------------
54 Player::Player(char *n, float f, int i) {
60 //- Constructor -----------------------------------------------------------
61 Player::Player(char *n, float f, int i, int r) {
68 //- DeConstructor ---------------------------------------------------------
72 //- IsPlayer -----------------------------------------------------------------
73 int Player::IsPlayer(char *user) {
74 if(0 == strcasecmp(user, name))