void set_layer(int layer) {
this->layer = layer;
}
-
+
int get_layer() const {
return layer;
}
const Vector& get_pos() const {
return pos;
}
-
+
void set_anchor_point(AnchorPoint anchor) {
this->anchor = anchor;
}
return visible;
}
+ void set_action(const std::string& action);
+ std::string get_action();
+
void update(float elapsed_time);
void draw(DrawingContext& context);
};
#endif
-