Gel2D - The free/open source game creation suite

Public Member Functions
gel::GelBone Class Reference

A bone. More...

#include <gelArmature.h>

List of all members.

Public Member Functions

 GelBone ()
 Default constructor.
GelBonegetParent ()
void setParent (GelBone *par)
void addChild (GelBone *child)
GelBonegetChild (int index)
void setPos (Gel2dVec bpos)
float getAngle ()
void setAngle (float bangle)
float getLength ()
void setLength (float blength)
void setName (GelString strname)
int getPosMode ()
void setPosMode (int mode)
int hasParent ()
int hasChildren ()
void drawBoneAbsolute ()
void drawBoneRelative ()

Detailed Description

A bone.

This bone class will be used with GelArmature to provide skeletal animation. You should never need to use this class directly.


Constructor & Destructor Documentation

gel::GelBone::GelBone ( )

Default constructor.


Member Function Documentation

GelBone* gel::GelBone::getParent ( ) [inline]
void gel::GelBone::setParent ( GelBone par) [inline]
void gel::GelBone::addChild ( GelBone child)
GelBone* gel::GelBone::getChild ( int  index)
void gel::GelBone::setPos ( Gel2dVec  bpos) [inline]
float gel::GelBone::getAngle ( ) [inline]
void gel::GelBone::setAngle ( float  bangle) [inline]
float gel::GelBone::getLength ( ) [inline]
void gel::GelBone::setLength ( float  blength) [inline]
void gel::GelBone::setName ( GelString  strname) [inline]
int gel::GelBone::getPosMode ( ) [inline]
void gel::GelBone::setPosMode ( int  mode) [inline]
int gel::GelBone::hasParent ( )
int gel::GelBone::hasChildren ( )
void gel::GelBone::drawBoneAbsolute ( )
void gel::GelBone::drawBoneRelative ( )

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