rayzor

view src/object.h @ 6:a68dbf80d547

finally showing something ... :)
author John Tsiombikas <nuclear@member.fsf.org>
date Mon, 07 Apr 2014 06:04:11 +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_