22 #ifndef FREESCAPE_GROUP_H 23 #define FREESCAPE_GROUP_H 25 #include "freescape/gfx.h" 26 #include "freescape/objects/object.h" 35 Math::Vector3d position;
42 Group(uint16 objectID_, uint16 flags_,
46 void linkObject(
Object *obj);
47 void assemble(
int index);
61 ObjectType getType()
override {
return ObjectType::kGroupType; };
62 bool isDrawable()
override {
return true; }
63 void draw(
Renderer *gfx,
float offset = 0.0)
override;
64 void scale(
int scale_)
override { _scale = scale_; };
65 bool isActive() {
return !isDestroyed() && !isInvisible() && _step > 0 && _active; };
66 Object *duplicate()
override;
71 #endif // FREESCAPE_GLOBAL_H
Graphics::Surface * scale(const Graphics::Surface &srcImage, int xSize, int ySize)