Right now the factory methods are hiding all the details, they read in XML file and create a corresponding object {view or actor etc}. But reading XML is SLOW. The Engine must provide EASY facilities to create new objects from the code.
The Engine also should provide mechanisms to clone existing objects from memory {for efficient creation}.
Right now the factory methods are hiding all the details, they read in XML file and create a corresponding object {view or actor etc}. But reading XML is SLOW. The Engine must provide EASY facilities to create new objects from the code.
The Engine also should provide mechanisms to clone existing objects from memory {for efficient creation}.