Collage  0.6.1
Public Member Functions
co::ObjectFactory Class Reference

The interface to create objects, used by objectMap. More...

#include <objectFactory.h>

List of all members.

Public Member Functions

virtual co::ObjectcreateObject (const uint32_t type)
virtual void destroyObject (co::Object *object, const uint32_t type)
 Delete the given object of the given type.

Detailed Description

The interface to create objects, used by objectMap.

Definition at line 32 of file objectFactory.h.


Member Function Documentation

virtual co::Object* co::ObjectFactory::createObject ( const uint32_t  type) [inline, virtual]
Returns:
a new object instance of the given type.
Version:
0.5.1
See also:
ObjectType, Config::getObject(), Renderer::getObject()

Definition at line 45 of file objectFactory.h.

virtual void co::ObjectFactory::destroyObject ( co::Object object,
const uint32_t  type 
) [inline, virtual]

Delete the given object of the given type.

Version:
0.5.1

Definition at line 49 of file objectFactory.h.


The documentation for this class was generated from the following file:
Generated on Mon Nov 26 2012 14:41:44 for Collage 0.6.1 by  doxygen 1.7.6.1