rayzor
annotate src/object.h @ 2:c273c6f799a4
added fixcase utility to fix the ftp-ed files' case on linux
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Sat, 05 Apr 2014 18:31:00 +0300 |
parents | 2a5340a6eee4 |
children | a68dbf80d547 |
rev | line source |
---|---|
nuclear@1 | 1 #ifndef OBJECT_H_ |
nuclear@1 | 2 #define OBJECT_H_ |
nuclear@1 | 3 |
nuclear@1 | 4 class Object { |
nuclear@1 | 5 public: |
nuclear@1 | 6 Object(); |
nuclear@1 | 7 virtual ~Object(); |
nuclear@1 | 8 |
nuclear@1 | 9 virtual void draw() const = 0; |
nuclear@1 | 10 }; |
nuclear@1 | 11 |
nuclear@1 | 12 class Sphere { |
nuclear@1 | 13 public: |
nuclear@1 | 14 Sphere(); |
nuclear@1 | 15 ~Sphere(); |
nuclear@1 | 16 |
nuclear@1 | 17 void draw() const; |
nuclear@1 | 18 }; |
nuclear@1 | 19 |
nuclear@1 | 20 #endif // OBJECT_H_ |