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

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

using namespace std;

class MovingGameObject : public GameObject {

	float speed;

public:

	MovingGameObject(float pos_x, float pos_y, float size_x, float size_y, float orientation, string texture, float speed);
	virtual ~MovingGameObject();
	
	float getSpeed();
	
};