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 ; } }
void drawTT(Servo *leftWheel, Servo *rightWheel, Servo *penServo){ drawTheta(leftWheel, rightWheel, penServo); moveToTau(leftWheel, rightWheel, penServo); drawTau(leftWheel, rightWheel, penServo); }