bubolo
 All Classes Namespaces Functions Variables Enumerator
Public Member Functions | List of all members
bubolo.controllers.ControllerFactory Interface Reference

Public Member Functions

void create (Entity entity, Controllers controllers)
 

Detailed Description

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.

Author
BU CS673 - Clone Productions

Definition at line 11 of file ControllerFactory.java.

Member Function Documentation

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.

Parameters
entitythe new entity.
controllersreference to the Controllers object.