File: dynamiel.cc

package info (click to toggle)
pacman 10-21
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 852 kB
  • sloc: cpp: 4,363; sh: 83; makefile: 8
file content (13 lines) | stat: -rw-r--r-- 266 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
#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();
}