#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) :
x_(x),
y_(y),
w_(w),
h_(h)
{
}
inline double getX() const
{
return x_;
}
inline void setX(double v)
{
x_ = v;
}
inline double getY() const
{
return y_;
}
inline void setY(double v)
{
y_ = v;
}
inline int getW() const
{
return w_;
}
inline void setW(int v)
{
w_ = v;
}
inline int getH() const
{
return h_;
}
inline void setH(int v)
{
h_ = v;
}
private:
double x_;
double y_;
int w_;
int h_;
};
#endif /* end of include guard: LOCATABLE_H_39E526CA */
me='id' value='523757481b2306614806a23981721d4a64abb134'/>
blob: a07d858c003f9639cc6309199b16b99b53043eab (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
connections {
from_room: "Main Area"
to_room: "K2 Room"
door { name: "K2 Door" }
}
connections {
from_room: "Main Area"
to_room: "Ending"
door { name: "Ending Door" }
}
connections {
from_room: "Main Area"
to_room: "Lavender Area"
door { name: "Double Letters" }
}
connections {
from_room: "Lavender Area"
to_room: "U Keyholder"
door { name: "Lavender Cubes" }
}
|