Colobot
|
Interface for carrier objects. More...
#include <carrier_object.h>
Public Member Functions | |
CCarrierObject (ObjectInterfaceTypes &types) | |
virtual CObject * | GetCargo ()=0 |
Returns carried object. More... | |
virtual void | SetCargo (CObject *cargo)=0 |
Sets carried object. More... | |
bool | IsCarryingCargo () |
Checks whether there is any cargo. More... | |
Interface for carrier objects.
|
pure virtual |
Returns carried object.
Implemented in COldObject.
|
pure virtual |
Sets carried object.
Implemented in COldObject.
|
inline |
Checks whether there is any cargo.