mirror of
https://github.com/Pax1601/DCSOlympus.git
synced 2025-10-29 16:56:34 +00:00
23 lines
380 B
C++
23 lines
380 B
C++
#pragma once
|
|
#include "unit.h"
|
|
|
|
class Weapon : public Unit
|
|
{
|
|
public:
|
|
Weapon(json::value json, unsigned int ID);
|
|
protected:
|
|
/* Weapons are not controllable and have no AIloop */
|
|
virtual void AIloop() {};
|
|
};
|
|
|
|
class Missile : public Weapon
|
|
{
|
|
public:
|
|
Missile(json::value json, unsigned int ID);
|
|
};
|
|
|
|
class Bomb : public Weapon
|
|
{
|
|
public:
|
|
Bomb(json::value json, unsigned int ID);
|
|
}; |