![]() |
Public API Reference |
This is the Behaviour Layer itself. More...
#include <behaviourlayer/bl.h>
Public Member Functions | |
| virtual iCelBehaviour * | CreateBehaviour (iCelEntity *entity, const char *name)=0 |
| Create a new behaviour layer entity. | |
| virtual const char * | GetName () const =0 |
| The name of this behaviour layer. | |
| virtual iCelBehaviour* iCelBlLayer::CreateBehaviour | ( | iCelEntity * | entity, |
| const char * | name | ||
| ) | [pure virtual] |
Create a new behaviour layer entity.
The given name is specific to the BL implementation. It can be the name of a script for example. This function will also call entity->SetBehaviour() with the new behaviour.
| virtual const char* iCelBlLayer::GetName | ( | ) | const [pure virtual] |
The name of this behaviour layer.