GameLogic
All Data Structures Files Functions Variables Friends
Public Member Functions | Data Fields
gameModel::Player Class Reference

#include <GameModel.h>

Inheritance diagram for gameModel::Player:
gameModel::Object gameModel::Beater gameModel::Chaser gameModel::Keeper gameModel::Seeker

Public Member Functions

 Player (Position position, communication::messages::types::Broom broom, communication::messages::types::EntityId id)
 
bool operator== (const Player &other) const
 
bool operator!= (const Player &other) const
 
- Public Member Functions inherited from gameModel::Object
 Object (const Position &position, communication::messages::types::EntityId id)
 
bool operator== (const Object &other) const
 
bool operator!= (const Object &other) const
 
communication::messages::types::EntityId getId () const
 

Data Fields

communication::messages::types::Broom broom = {}
 
bool isFined = false
 
bool knockedOut = false
 
- Data Fields inherited from gameModel::Object
Position position = {}
 

Additional Inherited Members

- Protected Attributes inherited from gameModel::Object
communication::messages::types::EntityId id {}
 

Detailed Description

Represents the playable characters


The documentation for this class was generated from the following files: