summaryrefslogtreecommitdiff
path: root/src/player.h
blob: 15f2f15492769f446e5685e99e4b47e8e22647d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#pragma once

#include "movinggameobject.h"
#include <string>

using namespace std;

class Player : public MovingGameObject {

	float last_time_shot;

public:

	Player(float pos_x, float pos_y, float size_x, float size_y, float orientation, string texture, float speed);
	virtual ~Player();
	
	void update() override;
	void draw() override;

};