BWAPI
Public Member Functions | Private Attributes
BufferedBox Class Reference

#include <BufferedBox.h>

Inheritance diagram for BufferedBox:
Inheritance graph
[legend]
Collaboration diagram for BufferedBox:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 BufferedBox (BWAPI::CoordinateType::Enum coordType, BufferedCategory id, int time, int left, int top, int right, int bottom, BWAPI::Color color, bool solid)
virtual void draw ()

Private Attributes

int mLeft
int mTop
int nRight
int mBottom
BWAPI::Color mColor
bool mIsSolid

Detailed Description

Definition at line 7 of file BufferedBox.h.


Constructor & Destructor Documentation

BufferedBox::BufferedBox ( BWAPI::CoordinateType::Enum  coordType,
BufferedCategory  id,
int  time,
int  left,
int  top,
int  right,
int  bottom,
BWAPI::Color  color,
bool  solid 
) [inline]

Definition at line 10 of file BufferedBox.h.

                : BufferedItem(coordType, id, time)
                , mLeft(left)
                , mTop(top)
                , nRight(right)
                , mBottom(bottom)
                , mColor(color)
                , mIsSolid(solid)
        {}

Member Function Documentation

virtual void BufferedBox::draw ( ) [inline, virtual]

Reimplemented from BufferedItem.

Definition at line 20 of file BufferedBox.h.

References BWAPI::Broodwar, BWAPI::Game::drawBox(), mBottom, mColor, BufferedItem::mCoordType, mIsSolid, mLeft, mTop, and nRight.

Here is the call graph for this function:


Member Data Documentation

int BufferedBox::mBottom [private]

Definition at line 29 of file BufferedBox.h.

Referenced by draw().

Definition at line 30 of file BufferedBox.h.

Referenced by draw().

bool BufferedBox::mIsSolid [private]

Definition at line 31 of file BufferedBox.h.

Referenced by draw().

int BufferedBox::mLeft [private]

Definition at line 26 of file BufferedBox.h.

Referenced by draw().

int BufferedBox::mTop [private]

Definition at line 27 of file BufferedBox.h.

Referenced by draw().

int BufferedBox::nRight [private]

Definition at line 28 of file BufferedBox.h.

Referenced by draw().


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines