ScummVM API documentation
Freescape::Group Class Reference
Inheritance diagram for Freescape::Group:
Freescape::Object

Public Member Functions

 Group (uint16 objectID_, uint16 flags_, const Common::Array< uint16 > objectIds_, const Math::Vector3d offset1_, const Math::Vector3d offset2_, const Common::Array< AnimationOpcode *> operations)
 
void linkObject (Object *obj)
 
void assemble (int index)
 
void step ()
 
void run ()
 
void run (int index)
 
void reset ()
 
void start ()
 
bool collides (const Math::AABB &aabb)
 
ObjectType getType () override
 
bool isDrawable () override
 
void draw (Renderer *gfx, float offset=0.0) override
 
void scale (int scale_) override
 
bool isActive ()
 
Objectduplicate () override
 
- Public Member Functions inherited from Freescape::Object
uint16 getObjectID ()
 
uint16 getObjectFlags ()
 
void setObjectFlags (uint32 flags_)
 
Math::Vector3d getOrigin ()
 
virtual void setOrigin (Math::Vector3d origin_)
 
Math::Vector3d getSize ()
 
virtual bool isPlanar ()
 
bool isInvisible ()
 
void makeInvisible ()
 
void makeVisible ()
 
bool isInitiallyInvisible ()
 
void makeInitiallyInvisible ()
 
void makeInitiallyVisible ()
 
bool isDestroyed ()
 
void destroy ()
 
void restore ()
 
void toggleVisibility ()
 

Public Attributes

Common::Array< Object * > _objects
 
Common::Array< Math::Vector3d > _origins
 
Math::Vector3d _offset1
 
Math::Vector3d _offset2
 
Common::Array< AnimationOpcode * > _operations
 
Common::Array< uint16 > _objectIds
 
int _scale
 
int _step
 
bool _active
 
- Public Attributes inherited from Freescape::Object
uint16 _flags
 
ObjectType _type
 
uint16 _objectID
 
Math::Vector3d _origin
 
Math::Vector3d _size
 
Math::Vector3d _rotation
 
Math::AABB _boundingBox
 
Object_partOfGroup = nullptr
 

The documentation for this class was generated from the following file: