rayzor

annotate src/object.h @ 4:18bdbcbaee81

forgot to add stl/vector.h
author John Tsiombikas <nuclear@member.fsf.org>
date Sun, 06 Apr 2014 01:12:50 +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_