ScummVM API documentation
Saga2::Sensor Class Referenceabstract
Inheritance diagram for Saga2::Sensor:
Saga2::EventSensor Saga2::ObjectSensor Saga2::ProtaganistSensor Saga2::ActorSensor Saga2::ObjectPropertySensor Saga2::SpecificObjectSensor Saga2::ActorPropertySensor Saga2::SpecificActorSensor

Public Member Functions

 Sensor (GameObject *o, SensorID sensorID, int16 rng)
 
 Sensor (Common::InSaveFile *in, int16 ctr)
 
virtual void write (Common::MemoryWriteStreamDynamic *out)
 
virtual int16 getType ()=0
 
GameObjectgetObject ()
 
SensorID thisID ()
 
int16 getRange ()
 
virtual bool check (SenseInfo &info, uint32 senseFlags)=0
 
virtual bool evaluateEvent (const GameEvent &event)=0
 

Public Attributes

GameObject_obj
 
SensorID _id
 
int16 _range
 
int16 _checkCtr
 
bool _active
 

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