forked from 0ad/0ad
16 lines
366 B
C++
16 lines
366 B
C++
#ifndef __OBJECT_H__
|
|
#define __OBJECT_H__
|
|
|
|
class Object {
|
|
public:
|
|
std::string name; // "template" field for objects, "actor" field for nonobjects
|
|
int player; // -1 for nonobjects
|
|
float x, y, z;
|
|
float orientation;
|
|
|
|
Object();
|
|
Object(const std::string& name, int player, float x, float y, float z, float orientation);
|
|
bool isEntity();
|
|
};
|
|
|
|
#endif |