// tabtenn0.h

#ifndef TABTENN0_H
#define TABTENN0_H

// simple base class

class TableTennisPlayer
{
  public:
  
    // Constructor
    
    TableTennisPlayer (const char * fn = "none",
                       const char * ln = "none", bool ht = false);
                       
    void Name() const;      // Output (to cout) the name of the player
    
    bool HasTable() const { return hasTable; };
    void ResetTable(bool v) { hasTable = v; };
    
  private:
  
    enum { LIM = 20};       // Alternative for defining a constant, limited scope
    char firstname[LIM];    // Internal state of first name
    char lastname[LIM];     // Internal state of last name
    bool hasTable;          // Does this player have a table?
    
};
#endif
