mElite
1.0
An Elite clone based on TextElite by Jan-Philipp Kappmeier and Melanie Schmidt.
Main Page
Classes
Files
File List
File Members
All
Classes
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
mElite
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
};
Generated on Tue Oct 2 2012 14:38:37 for mElite by
1.8.2