Public Member Functions | |
void | create (Entity entity, Controllers controllers) |
Interface for controller factories, which allow the controllers that will be used with an entity to be defined. If a controller factory is not used, the default controllers for the entity will be used.
Definition at line 11 of file ControllerFactory.java.
void bubolo.controllers.ControllerFactory.create | ( | Entity | entity, |
Controllers | controllers | ||
) |
The create
method is called once, when the entity is created. This method should be used to add controllers that reference the entity.
entity | the new entity. |
controllers | reference to the Controllers object. |