mirror of
https://github.com/devZoGok/PlanetFleet.git
synced 2026-08-26 19:43:29 +00:00
27 lines
644 B
C++
Executable File
27 lines
644 B
C++
Executable File
#pragma once
|
|
#ifndef MISSILE_H
|
|
#define MISSILE_H
|
|
|
|
#include "projectile.h"
|
|
|
|
namespace game{
|
|
namespace content{
|
|
enum MissileType {AAM, AWM};
|
|
|
|
class Missile : public Projectile {
|
|
public:
|
|
Missile(Unit*, vb01::Node*, vb01::Vector3*, vb01::Vector3, vb01::Vector3, vb01::Vector3, vb01::Vector3, int, int, int);
|
|
~Missile(){}
|
|
void update();
|
|
private:
|
|
s64 initTime;
|
|
int selfDistructTime = 10000;
|
|
vb01::Vector3 *target;
|
|
float rotationSpeed = 5;
|
|
MissileType type;
|
|
};
|
|
}
|
|
}
|
|
|
|
#endif
|