MAK RTIspy API Documentation for HLA 1516
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Attributes
Ball Class Reference
+ Collaboration diagram for Ball:

Public Member Functions

 Ball ()
virtual ~Ball ()
BallColor color () const
void setColor (BallColor newColor)
short x () const
void setX (short newXCoord)
short y () const
void setY (short newYCoord)
void setLocation (short newXCoord, short newYCoord)
unsigned short size () const
void setSize (unsigned short newSize)
double direction () const
void setDirection (double newDirection)
unsigned short speed () const
void setSpeed (unsigned short newSpeed)
bool isMine () const
void setIsMine (bool newIsMine)
bool isMarkedForDeletion () const
void markForDeletion (bool mark)
bool isVisible () const
void setVisible (bool visible)
const std::wstring & id () const
const std::wstring & name () const
ObjectParamsobjectParams ()
const ObjectParamsobjectParams () const
void setObjectParams (ObjectParams *newParams)
QGraphicsSvgItem * graphicsItem ()
void setGraphicsItem (QGraphicsSvgItem *item)

Protected Attributes

ObjectParamsmyObjectParams
QGraphicsSvgItem * myGraphicsItem
BallColor myColor
short myX
short myY
short mySize
double myDirection
unsigned short mySpeed
bool myIsMine
bool myIsVisible
bool myMarkedForDeletion

Constructor & Destructor Documentation

Ball::Ball ( )
virtual Ball::~Ball ( )
virtual

Member Function Documentation

BallColor Ball::color ( ) const
double Ball::direction ( ) const
QGraphicsSvgItem* Ball::graphicsItem ( )
const std::wstring& Ball::id ( ) const
bool Ball::isMarkedForDeletion ( ) const
bool Ball::isMine ( ) const
bool Ball::isVisible ( ) const
void Ball::markForDeletion ( bool  mark)
const std::wstring& Ball::name ( ) const
ObjectParams* Ball::objectParams ( )
const ObjectParams* Ball::objectParams ( ) const
void Ball::setColor ( BallColor  newColor)
void Ball::setDirection ( double  newDirection)
void Ball::setGraphicsItem ( QGraphicsSvgItem *  item)
void Ball::setIsMine ( bool  newIsMine)
void Ball::setLocation ( short  newXCoord,
short  newYCoord 
)
void Ball::setObjectParams ( ObjectParams newParams)
void Ball::setSize ( unsigned short  newSize)
void Ball::setSpeed ( unsigned short  newSpeed)
void Ball::setVisible ( bool  visible)
void Ball::setX ( short  newXCoord)
void Ball::setY ( short  newYCoord)
unsigned short Ball::size ( ) const
unsigned short Ball::speed ( ) const
short Ball::x ( ) const
short Ball::y ( ) const

Member Data Documentation

BallColor Ball::myColor
protected
double Ball::myDirection
protected
QGraphicsSvgItem* Ball::myGraphicsItem
protected
bool Ball::myIsMine
protected
bool Ball::myIsVisible
protected
bool Ball::myMarkedForDeletion
protected
ObjectParams* Ball::myObjectParams
protected
short Ball::mySize
protected
unsigned short Ball::mySpeed
protected
short Ball::myX
protected
short Ball::myY
protected

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

Document ID: Generated on Mon Jul 9 10:30:41 EDT 2018 from SVN revision 190224
Copyright © 2005-2018 VT MÄK Inc. All Rights Reserved (www.mak.com)