Logo Search packages:      
Sourcecode: pacman version File versions  Download package

dynamiel.cc

#include"dynamiel.h"

void DynamicElement::getxy(int *xx,int *yy) {   //get it's coordinates
 *xx=x; *yy=y; }

void DynamicElement::draw() {             //for drawing the sprite
g->draw(x,y);
}

GID_TYPE DynamicElement::getgid() {       //get it's grahical id
return g->getgid();
}


Generated by  Doxygen 1.6.0   Back to index