API Docs for: v2.1.0
Show:

WUICCGSGNodeImageFactory Class

Extends CGSGObject
Module: Collision

this class represent an Image Factory for WUIC

Constructor

WUICCGSGNodeImageFactory

(
  • groupId
)

Parameters:

Item Index

Methods

buildNode

(
  • data
  • url
)
CGSGNodeImage

Build the CGSGNodeImage with his position

Parameters:

Returns:

create

(
  • name
  • data
)
CGSGNodeImage

Create a new image from the sprite

Parameters:

  • name Object

    represent the name of the new image

  • data Object

    contain the attribute of this image

Returns:

getImgMap

() CGSGMap

return a map of all the image associated with her sprite's url.

Returns: