GameLogic
 All Data Structures Files Functions Variables Friends
Public Member Functions
gameModel::Bludger Class Reference

#include <GameModel.h>

Inheritance diagram for gameModel::Bludger:
gameModel::Ball gameModel::Object

Public Member Functions

 Bludger (communication::messages::types::EntityId id)
 
 Bludger (Position position, communication::messages::types::EntityId id)
 
- Public Member Functions inherited from gameModel::Ball
 Ball (Position position, communication::messages::types::EntityId id)
 
- 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
 

Additional Inherited Members

- Data Fields inherited from gameModel::Object
Position position = {}
 
- Protected Attributes inherited from gameModel::Object
communication::messages::types::EntityId id {}
 

Detailed Description

Bludger type Ball

Constructor & Destructor Documentation

gameModel::Bludger::Bludger ( communication::messages::types::EntityId  id)
explicit

Places Bludger in the centre of the field

Parameters
idId of the Bludger
gameModel::Bludger::Bludger ( Position  position,
communication::messages::types::EntityId  id 
)

Places Bludger at the specified location

Parameters
positionPosition where the Bludger is constructed
idId of the Bludger

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