1
0
forked from 0ad/0ad
0ad/source/tools/rmgen/object.h
Matei 467b14e928 - Added stay-in-tile-class and border-tile-class constraints.
- Made objects snap to terrain (the game does this automatically for
entities but it was a problem with actors)
- Small enhancements to the RMS API
- New version of cantabrian_highlands

This was SVN commit r2688.
2005-09-08 01:20:51 +00:00

16 lines
354 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;
float orientation;
Object();
Object(const std::string& name, int player, float x, float y, float orientation);
bool isEntity();
};
#endif