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

#include "sprite.h"


class Object{
public:
	double x=0,y=0;
	Sprite *sprite_index=nullptr;

	Object(void);
	Object(double x,double y);
	virtual ~Object(void);

	virtual void create(void);
	virtual void destroy(void);
	virtual void step(void);
	virtual void draw(void);
};