DYTSrouce/src/entities/SpecializedEntities.h

58 lines
1.2 KiB
C
Raw Normal View History

2025-11-01 13:30:06 +00:00
#pragma once
#include "entities/Entity.h"
// 导弹实体
class MissileEntity : public Entity {
Q_OBJECT
public:
explicit MissileEntity(WorkSpace* workspace);
explicit MissileEntity(const QString& name, QObject* parent = nullptr);
~MissileEntity() override = default;
};
// 卫星实体
class SatelliteEntity : public Entity {
Q_OBJECT
public:
explicit SatelliteEntity(WorkSpace* workspace);
explicit SatelliteEntity(const QString& name, QObject* parent = nullptr);
~SatelliteEntity() override = default;
};
// 舰船实体
class ShipEntity : public Entity {
Q_OBJECT
public:
explicit ShipEntity(WorkSpace* workspace);
explicit ShipEntity(const QString& name, QObject* parent = nullptr);
~ShipEntity() override = default;
};
// 雷达实体
class RadarEntity : public Entity {
Q_OBJECT
public:
explicit RadarEntity(WorkSpace* workspace);
explicit RadarEntity(const QString& name, QObject* parent = nullptr);
~RadarEntity() override = default;
};
// 通用载具实体
class VehicleEntity : public Entity {
Q_OBJECT
public:
explicit VehicleEntity(WorkSpace* workspace);
explicit VehicleEntity(const QString& name, QObject* parent = nullptr);
~VehicleEntity() override = default;
};