mirror of
https://github.com/kuhyx/testsAndMisc.git
synced 2026-11-21 22:22:20 +01:00
26 lines
412 B
C++
26 lines
412 B
C++
#ifndef AIRCRAFT_HPP
|
|
#define AIRCRAFT_HPP
|
|
|
|
#include "entity.hpp"
|
|
|
|
class Aircraft : public Entity
|
|
{
|
|
public:
|
|
enum Type
|
|
{
|
|
Eagle,
|
|
Raptor
|
|
};
|
|
public:
|
|
explicit Aircraft(Type type, const TextureHolder& textures);
|
|
virtual void drawCurrent(sf::RenderTarget& target, sf::RenderStates states) const;
|
|
|
|
private:
|
|
Type mType;
|
|
sf::Sprite mSprite;
|
|
|
|
};
|
|
|
|
#include "aircraft.cpp"
|
|
#endif
|