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

Public Member Functions

 Sensor (uint16 objectID_, const Math::Vector3d &origin_, const Math::Vector3d &rotation_, byte color_, byte firingInterval_, uint16 firingRange_, uint16 axis_, uint8 flags_, FCLInstructionVector condition_, Common::String conditionSource_)
 
bool isDrawable () override
 
bool isPlanar () override
 
bool isShooting ()
 
void scale (int factor) override
 
Objectduplicate () override
 
ObjectType getType () override
 
Math::Vector3d getRotation ()
 
void shouldShoot (bool shooting)
 
void draw (Freescape::Renderer *gfx, float offset=0.0) override
 
bool playerDetected (const Math::Vector3d &position, Area *area)
 
- 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 ()
 
bool isInvisible ()
 
void makeInvisible ()
 
void makeVisible ()
 
bool isInitiallyInvisible ()
 
void makeInitiallyInvisible ()
 
void makeInitiallyVisible ()
 
bool isDestroyed ()
 
void destroy ()
 
void restore ()
 
void toggleVisibility ()
 

Public Attributes

byte _firingInterval
 
uint16 _firingRange
 
uint16 _axis
 
bool _isShooting
 
Common::String _conditionSource
 
FCLInstructionVector _condition
 
- 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: