Example #1
0
Sprite::Sprite( float x, float y ) {
	Video *video = Video::Instance();
	
	this->x = x;
	this->y = y;
	mass = 1.;

	ang = 0.;
	throttle = 0.;
	thrust = 2.;
	
	radarBlip = video->RGBtoClr( 255, 255, 255 );
	
	deleteMe = false;
	
	owner = NULL;
}
Example #2
0
Sprite::Sprite( void ) {
	Video *video = Video::Instance();
	
	x = 0.;
	y = 0.;
	mass = 1.;

	ang = 0.;
	throttle = 0.;
	thrust = 2.;
	
	radarBlip = video->RGBtoClr( 255, 255, 255 );
	
	deleteMe = false;

	owner = NULL;
}