45 virtual void SetTransporterPart(
int part) = 0;
54 inline bool IsObjectBeingTransported(
CObject* obj)
Interface for transportable objects.
Definition: transportable_object.h:29
bool IsBeingTransported()
Return true if the object is currently transported.
Definition: transportable_object.h:48
ObjectInterfaceType enum.
bool Implements(ObjectInterfaceType type) const
Check if object implements the given type of interface.
Definition: object.h:97
CObject - base class for all game objects.
objects that can be carried by robots or astronaut
Base class for all 3D in-game objects.
Definition: object.h:63
virtual void SetTransporter(CObject *transporter)=0
Set transporter object that transports this object.
virtual CObject * GetTransporter()=0
Return transported object.