mirror of
https://github.com/devZoGok/PlanetFleet.git
synced 2026-08-26 19:43:29 +00:00
using the Destructable class as part of units' and projectiles' inheritance structure
This commit is contained in:
@@ -2,9 +2,10 @@
|
||||
#define MISSILE_H
|
||||
|
||||
#include "projectile.h"
|
||||
#include "destructable.h"
|
||||
|
||||
namespace battleship{
|
||||
class Missile : public Projectile{
|
||||
class Missile : public Projectile, Destructable{
|
||||
public:
|
||||
Missile(Unit*, int, vb01::Vector3, vb01::Vector3, vb01::Quaternion);
|
||||
~Missile(){}
|
||||
|
||||
Reference in New Issue
Block a user