Colobot
Public Member Functions | List of all members
CTransportableObject Class Referenceabstract

Interface for transportable objects. More...

#include <transportable_object.h>

Inheritance diagram for CTransportableObject:
Inheritance graph
[legend]

Public Member Functions

 CTransportableObject (ObjectInterfaceTypes &types)
 
virtual void SetTransporter (CObject *transporter)=0
 Set transporter object that transports this object. More...
 
virtual CObjectGetTransporter ()=0
 Return transported object. More...
 
virtual void SetTransporterPart (int part)=0
 
bool IsBeingTransported ()
 Return true if the object is currently transported. More...
 

Detailed Description

Interface for transportable objects.

Member Function Documentation

virtual void CTransportableObject::SetTransporter ( CObject transporter)
pure virtual

Set transporter object that transports this object.

Implemented in COldObject.

virtual CObject* CTransportableObject::GetTransporter ( )
pure virtual

Return transported object.

Implemented in COldObject.

bool CTransportableObject::IsBeingTransported ( )
inline

Return true if the object is currently transported.


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