#include <Pieces.h>
Collaboration diagram for PicDef:
Public Member Functions | |
PicDef () | |
void | makeBoundingPath () |
void | SetSelected (int n) const |
void | addSelected (int n) const |
int | GetSelected () const |
Public Attributes | |
PicGroupDef * | mygrp |
PicArr | v |
QPixmap | pixmap |
int | xOffs |
int | yOffs |
PicPainter | painter |
Texture * | tex |
int | nUsed |
int | lastnSelected |
int | pathlen |
PathCoord | path [MAX_PATH_LEN] |
Private Attributes | |
int | nSelected |
Classes | |
struct | NAPathCoord |
NAPathCoord is the same as PathPoint but without any constructors. More... | |
struct | PathCoord |
PathCoord is a 2D point used in the representation of the bounding path in PicDef. More... | |
struct | PathPoint |
PathPoint is the datum of the pathway table used to build the bounding path of a PicDef. More... |
Contains all the information one needs to know about a piece instances of this object are held by PicBucket
PicDef::PicDef | ( | ) | [inline] |
void PicDef::makeBoundingPath | ( | ) |
void PicDef::SetSelected | ( | int | n | ) | const [inline] |
void PicDef::addSelected | ( | int | n | ) | const [inline] |
int PicDef::GetSelected | ( | ) | const [inline] |
QPixmap PicDef::pixmap |
int PicDef::xOffs |
int PicDef::yOffs |
int PicDef::nUsed [mutable] |
int PicDef::lastnSelected [mutable] |
int PicDef::nSelected [mutable, private] |
int PicDef::pathlen |
PathCoord PicDef::path[MAX_PATH_LEN] |