rayzor
diff src/object.h @ 0:2a5340a6eee4
rayzor first commit
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Sat, 05 Apr 2014 08:46:27 +0300 |
parents | |
children | a826bf0fb169 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/src/object.h Sat Apr 05 08:46:27 2014 +0300 1.3 @@ -0,0 +1,20 @@ 1.4 +#ifndef OBJECT_H_ 1.5 +#define OBJECT_H_ 1.6 + 1.7 +class Object { 1.8 +public: 1.9 + Object(); 1.10 + virtual ~Object(); 1.11 + 1.12 + virtual void draw() const = 0; 1.13 +}; 1.14 + 1.15 +class Sphere { 1.16 +public: 1.17 + Sphere(); 1.18 + ~Sphere(); 1.19 + 1.20 + void draw() const; 1.21 +}; 1.22 + 1.23 +#endif // OBJECT_H_