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
GameObject.h
Go to the documentation of this file.
1 
6  #pragma once
7 
8 #include "Vector3.h"
9 
11 
15 class GameObject{
16  // constructor and initialization
17 public:
18  GameObject( void );
19  GameObject( Vector3 position );
20  GameObject( float x, float y, float z );
21  ~GameObject( void );
22 
23  // positioning
24 public:
25  virtual Vector3 getPos( void );
26  void setPos( float x, float y, float z );
27  void setPos( Vector3 position );
28 private:
29  Vector3 m_position;// position of the object
30 };