fixedPositions_c Class Reference

a piece position class with fixed positions More...

#include <disasmtomoves.h>

Inheritance diagram for fixedPositions_c:

Inheritance graph
[legend]
Collaboration diagram for fixedPositions_c:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 fixedPositions_c (const disassemblerNode_c *nd, const std::vector< unsigned int > &pieces, unsigned int pc)
 fixedPositions_c (const fixedPositions_c *nd)
 ~fixedPositions_c (void)
virtual float getX (unsigned int piece)
 the x-positions of the piece is returned
virtual float getY (unsigned int piece)
 the y-positions of the piece is returned
virtual float getZ (unsigned int piece)
 the z-positions of the piece is returned
virtual float getA (unsigned int piece)
 the alpha value of the piece (0 invisible, 1 opaque)
virtual bool moving (unsigned int piece)
 piece moving at this time

Private Member Functions

 fixedPositions_c (const fixedPositions_c &)
void operator= (const fixedPositions_c &)

Private Attributes

int * x
int * y
int * z
bool * visible
unsigned int pieces


Detailed Description

a piece position class with fixed positions

Constructor & Destructor Documentation

fixedPositions_c::fixedPositions_c ( const disassemblerNode_c nd,
const std::vector< unsigned int > &  pieces,
unsigned int  pc 
)

fixedPositions_c::fixedPositions_c ( const fixedPositions_c nd  ) 

References pieces, visible, x, y, and z.

fixedPositions_c::~fixedPositions_c ( void   ) 

References visible, x, y, and z.

fixedPositions_c::fixedPositions_c ( const fixedPositions_c  )  [private]


Member Function Documentation

float fixedPositions_c::getA ( unsigned int  piece  )  [virtual]

the alpha value of the piece (0 invisible, 1 opaque)

Implements piecePositions_c.

References visible.

float fixedPositions_c::getX ( unsigned int  piece  )  [virtual]

the x-positions of the piece is returned

Implements piecePositions_c.

References bt_assert, pieces, and x.

float fixedPositions_c::getY ( unsigned int  piece  )  [virtual]

the y-positions of the piece is returned

Implements piecePositions_c.

References bt_assert, pieces, and y.

float fixedPositions_c::getZ ( unsigned int  piece  )  [virtual]

the z-positions of the piece is returned

Implements piecePositions_c.

References bt_assert, pieces, and z.

bool fixedPositions_c::moving ( unsigned int  piece  )  [virtual]

piece moving at this time

Implements piecePositions_c.

void fixedPositions_c::operator= ( const fixedPositions_c  )  [private]


Member Data Documentation

unsigned int fixedPositions_c::pieces [private]

Referenced by fixedPositions_c(), getX(), getY(), and getZ().

bool* fixedPositions_c::visible [private]

int* fixedPositions_c::x [private]

int * fixedPositions_c::y [private]

int * fixedPositions_c::z [private]


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

Generated on Sun Oct 10 10:02:54 2010 for BurrTools by  doxygen 1.5.8