rayzor

view src/object.h @ 7:75bc89c2abc4

fixed the mouse handling problem
author John Tsiombikas <nuclear@member.fsf.org>
date Mon, 07 Apr 2014 08:05:06 +0300
parents a826bf0fb169
children d94a69933a71
line source
1 #ifndef OBJECT_H_
2 #define OBJECT_H_
4 class Object {
5 public:
6 Object();
7 virtual ~Object();
9 virtual void draw() const = 0;
10 };
12 class Sphere : public Object {
13 public:
14 Sphere();
15 ~Sphere();
17 void draw() const;
18 };
20 #endif // OBJECT_H_