ScummVM API documentation
Freescape::Object Class Referenceabstract
Inheritance diagram for Freescape::Object:
Freescape::AreaConnections Freescape::Entrance Freescape::GeometricObject Freescape::GlobalStructure Freescape::Group Freescape::Sensor

Public Member Functions

virtual ObjectType getType ()
 
uint16 getObjectID ()
 
uint16 getObjectFlags ()
 
void setObjectFlags (uint32 flags_)
 
Math::Vector3d getOrigin ()
 
virtual void setOrigin (Math::Vector3d origin_)
 
Math::Vector3d getSize ()
 
virtual bool isDrawable ()
 
virtual bool isPlanar ()
 
virtual void scale (int factor)=0
 
bool isInvisible ()
 
void makeInvisible ()
 
void makeVisible ()
 
bool isInitiallyInvisible ()
 
void makeInitiallyInvisible ()
 
void makeInitiallyVisible ()
 
bool isDestroyed ()
 
void destroy ()
 
void restore ()
 
void toggleVisibility ()
 
virtual Objectduplicate ()=0
 
virtual void draw (Freescape::Renderer *gfx, float offset=0.0)=0
 

Public Attributes

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: