Exemplo n.º 1
0
void			Game::deleteShip(Enemy & entity)
{
	switch (entity.getShape())
		{
		case TAU :
			drawTau(entity, NULL);
			break;
		case ELDARI :
			drawEldari(entity, NULL);
			break;
		case CRUISER :
			drawCruiser(entity, NULL);
			break ;
		case CYLON :
			drawCylon(entity, NULL);
			break ;
		case TETRIS:
			drawTetris(entity, NULL);
			break ;
		}
}
Exemplo n.º 2
0
void drawTT(Servo *leftWheel, Servo *rightWheel, Servo *penServo){
    drawTheta(leftWheel, rightWheel, penServo);
    moveToTau(leftWheel, rightWheel, penServo);
    drawTau(leftWheel, rightWheel, penServo);
}