1
0
forked from 0ad/0ad
0ad/source/tools/rmgen/object.h

16 lines
366 B
C
Raw Normal View History

2005-07-30 22:57:18 +02:00
#ifndef __OBJECT_H__
#define __OBJECT_H__
2005-07-30 21:22:16 +02:00
2005-07-30 22:57:18 +02:00
class Object {
2005-07-30 21:22:16 +02:00
public:
2005-07-30 22:57:18 +02:00
std::string name; // "template" field for objects, "actor" field for nonobjects
int player; // -1 for nonobjects
2005-07-30 21:22:16 +02:00
float x, y, z;
float orientation;
2005-07-30 22:57:18 +02:00
Object();
Object(const std::string& name, int player, float x, float y, float z, float orientation);
bool isEntity();
2005-07-30 21:22:16 +02:00
};
#endif