BotPath Class Reference

#include <arena.h>

Collaboration diagram for BotPath:

Collaboration graph
[legend]

List of all members.


Detailed Description

Definition at line 58 of file arena.h.


Public Slots

void setShrinkEnabled (bool)

Public Member Functions

 BotPath ()
 ~BotPath ()
void addPos (QPointF)
void drawPath (QPainter &)
bool isEnabled () const

Private Attributes

Privated

Classes

struct  Private

Constructor & Destructor Documentation

BotPath (  ) 

Definition at line 313 of file arena.cc.

References d, BotPath::Private::first, and BotPath::Private::shrinkEnabled.

~BotPath (  ) 

Definition at line 319 of file arena.cc.

References d.


Member Function Documentation

void addPos ( QPointF  pos  ) 

Definition at line 322 of file arena.cc.

References d, BotPath::Private::farFromLast(), BotPath::Private::first, BotPath::Private::fullPath, BotPath::Private::last, BotPath::Private::path, and BotPath::Private::shrink().

Referenced by Arena::Arena(), and Arena::botPosChanged().

Here is the call graph for this function:

Here is the caller graph for this function:

void drawPath ( QPainter &  painter  ) 

Definition at line 338 of file arena.cc.

References d, BotPath::Private::fullPath, BotPath::Private::path, and BotPath::Private::shrinkEnabled.

Referenced by Arena::Private::render().

Here is the caller graph for this function:

bool isEnabled (  )  const

void setShrinkEnabled ( bool  enabled  )  [slot]

Definition at line 347 of file arena.cc.

References d, and BotPath::Private::shrinkEnabled.

Referenced by Arena::setShrinkPathEnabled().


Member Data Documentation

Private* d [private]

Definition at line 69 of file arena.h.

Referenced by addPos(), BotPath(), drawPath(), setShrinkEnabled(), and ~BotPath().


The documentation for this class was generated from the following files:
Generated on Fri Jul 10 22:42:09 2009 for rob08 by  doxygen 1.5.4