mirror of
https://github.com/ApfelTeeSaft/PlanetFleet.git
synced 2026-08-26 19:33:38 +00:00
22 lines
547 B
C++
Executable File
22 lines
547 B
C++
Executable File
#pragma once
|
|
#ifndef GUIDED_MISSILE_H
|
|
#define GUIDED_MISSILE_H
|
|
|
|
#include "projectile.h"
|
|
|
|
namespace battleship{
|
|
class GuidedMissile : public Projectile {
|
|
public:
|
|
GuidedMissile(Unit*, vb01::Vector3, vb01::Vector3, vb01::Vector3, vb01::Vector3, vb01::Vector3, int, int, int);
|
|
~GuidedMissile(){}
|
|
void update();
|
|
private:
|
|
void updateVecs();
|
|
bool firstPhase = true;
|
|
float a = 4,b,x,turnAngle = 1,arcLength = 0.,maxHeight = 5;
|
|
vb01::Vector3 target;
|
|
};
|
|
}
|
|
|
|
#endif
|