mElite  1.0
An Elite clone based on TextElite by Jan-Philipp Kappmeier and Melanie Schmidt.
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
ClickableObject.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <vector>
8 
10 class ClickableObject abstract
11 {
12 public:
13  ClickableObject( void );
14  virtual void mouseClick() = 0;
15  virtual bool isMouseOverObject() = 0;
16  virtual void draw() = 0;
17  static void clickAll();
18  static void drawAll();
19 private:
20  static std::vector<ClickableObject*> objectList;
21 };