blob: 87ba84d0d151c14cd75cd175c86da34ae211797b (
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
|
#ifndef LOCATABLE_H_39E526CA
#define LOCATABLE_H_39E526CA
#include "component.h"
class TransformableComponent : public Component {
public:
TransformableComponent(double x, double y, int w, int h);
double getX() const;
double getY() const;
int getW() const;
int getH() const;
void setX(double v);
void setY(double v);
void setW(int v);
void setH(int v);
private:
double x;
double y;
int w;
int h;
};
#endif /* end of include guard: LOCATABLE_H_39E526CA */
|