blob: 3296e49e82ad5dd4e43e48323ffc00aed4673dc4 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
#ifndef LOCATABLE_H_39E526CA
#define LOCATABLE_H_39E526CA
#include "component.h"
class TransformableComponent : public Component {
public:
/**
* The coordinates of the entity.
*/
double x;
double y;
/**
* The size of the entity.
*/
int w;
int h;
/**
* For prototypes, the original coordinates and size of the entity.
*
* @managed_by RealizingSystem
*/
double origX;
double origY;
int origW;
int origH;
};
#endif /* end of include guard: LOCATABLE_H_39E526CA */
|