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

#include <GameModel.h>

Inheritance diagram for gameModel::Quaffle:
gameModel::Ball gameModel::Object

Public Member Functions

 Quaffle ()
 
 Quaffle (Position position)
 
- 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

Quaffle type Ball

Constructor & Destructor Documentation

gameModel::Quaffle::Quaffle ( )

Places Quaffle in the centre of the field

gameModel::Quaffle::Quaffle ( Position  position)
explicit

Playes the Quaffle at the specified location

Parameters
positionPosition where the Quaffle is constructed

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