Skip to content

Commit 4b3fb3a

Browse files
committed
Corrected documentation
1 parent 9a84a10 commit 4b3fb3a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/com/pblabs/engine/core/TemplateManager.as

+2-2
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ package com.pblabs.engine.core
105105
* @param name The name of the entity or template to instantiate. This
106106
* corresponds to the name attribute on the template or entity tag in the XML.
107107
*
108-
* @param entityName optional name to instantiate if the xml is based on a template
108+
* @param entityName optional name to instantiate the entity with if name refers to a template
109109
*
110110
* @return The created entity, or null if it wasn't found.
111111
*/
@@ -152,7 +152,7 @@ package com.pblabs.engine.core
152152

153153
/**
154154
* Given an XML literal, construct a valid entity from it.
155-
* @param entityName optional name to instantiate the entity with
155+
* @param entityName optional name to instantiate the entity with if the xml is a template
156156
*/
157157
public function instantiateEntityFromXML(xml:XML, entityName:String = null ):IEntity
158158
{

0 commit comments

Comments
 (0)