21 lines
341 B
C++
21 lines
341 B
C++
#pragma once
|
|
#include "GameEntity.hpp"
|
|
#include <JGL/JGL.h>
|
|
|
|
|
|
namespace TestGame {
|
|
|
|
class Player : public GameEntity
|
|
{
|
|
public:
|
|
inline static JGL::Texture* sprite = nullptr;
|
|
Player(const Vector2& spawn_pos);
|
|
|
|
~Player();
|
|
|
|
void Update(float elapsed) override;
|
|
|
|
void Draw() override;
|
|
};
|
|
}
|