mirror of
https://github.com/devZoGok/PlanetFleet.git
synced 2026-08-26 19:43:29 +00:00
31 lines
505 B
C++
31 lines
505 B
C++
#ifndef ENGINEER_H
|
|
#define ENGINEER_H
|
|
|
|
#include <util.h>
|
|
|
|
#include "vehicle.h"
|
|
|
|
namespace vb01{
|
|
class Node;
|
|
}
|
|
|
|
namespace battleship{
|
|
class Structure;
|
|
|
|
class Engineer : public Vehicle{
|
|
public:
|
|
Engineer(Player*, int, vb01::Vector3, vb01::Quaternion, Unit::State);
|
|
~Engineer();
|
|
void update();
|
|
private:
|
|
int hackStatus = 0;
|
|
float hackRange;
|
|
vb01::s64 lastHackTime = 0;
|
|
vb01::Node *hackStatusBackground = nullptr, *hackStatusForeground = nullptr;
|
|
|
|
void hack(Order);
|
|
};
|
|
}
|
|
|
|
#endif
|