projects
/
supertux.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
-converted remaining classes to GameObject
[supertux.git]
/
src
/
drawable.h
1
#ifndef __DRAWABLE_H__
2
#define __DRAWABLE_H__
3
4
class ViewPort;
5
6
/** interface for all game objects that can be drawn on screen.
7
*/
8
class Drawable
9
{
10
public:
11
/** This function draws the object on screen.
12
*/
13
virtual void draw(ViewPort& viewport, int layer) = 0;
14
};
15
16
#endif
17