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

16 lines
354 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
float x, y;
2005-07-30 21:22:16 +02:00
float orientation;
2005-07-30 22:57:18 +02:00
Object();
Object(const std::string& name, int player, float x, float y, float orientation);
2005-07-30 22:57:18 +02:00
bool isEntity();
2005-07-30 21:22:16 +02:00
};
#endif