Lephisto/src/player.h
Allanis 5663867e6b [Add] Save view state.
[Change] Reoraganize a bunch of Camera stuff.
2018-02-08 21:17:06 +00:00

23 lines
558 B
C++

#pragma once
#include "libs.h"
#include "ship.h"
class Player : public Ship {
public:
OBJDEF(Player, Ship, PLAYER);
Player(ShipType::Type shipType);
Player(void) { }
virtual ~Player(void);
void PollControls(void);
virtual void Render(const Frame* camFrame);
void DrawHUD(const Frame* cam_frame);
virtual void SetDockedWith(SpaceStation*, int port);
void TimeStepUpdate(const float timeStep);
private:
void DrawTargetSquares();
void DrawTargetSquare(const Body* const target);
float m_mouseCMov[2];
bool polledControlsThisTurn;
};