Packagede.mightypirates.megazine.gui
Interfacepublic interface ILibrary

Interface for the library, to be used by (external) elements.



Public Methods
 MethodDefined by
  
getInstanceOf(id:String):DisplayObject
Returns a new instance of the graphics object of the given type.
ILibrary
Method detail
getInstanceOf()method
public function getInstanceOf(id:String):DisplayObject

Returns a new instance of the graphics object of the given type.

Parameters
id:String — The type of the object. See constants in LibraryConstants.

Returns
DisplayObject — A new instance of the type, or null if invalid.

See also

LibraryConstants