Module
Graphics.Phaser.Container
- Package
- purescript-phaser
- Repository
- lfarroco/purescript-phaser
#create Source
create :: PhaserScene -> (Effect PhaserContainer)
Creates a new container that belongs to the given scene
#addChild Source
addChild :: forall a. GameObject a => a -> PhaserContainer -> Effect PhaserContainer
Inserts a game object as a child of the given container
#removeChildren Source
removeChildren :: PhaserContainer -> Effect PhaserContainer
Removes all children from a container
#list Source
list :: forall a. GameObject a => PhaserContainer -> Array a
Returns an array of the container's game objects.
- Modules
- Graphics.
Phaser - Graphics.
Phaser. Camera - Graphics.
Phaser. Container - Graphics.
Phaser. Events - Graphics.
Phaser. ForeignTypes - Graphics.
Phaser. GameObject - Graphics.
Phaser. Graphics - Graphics.
Phaser. Image - Graphics.
Phaser. Loader - Graphics.
Phaser. Scene - Graphics.
Phaser. Sprite - Graphics.
Phaser. Text - Graphics.
Phaser. TileMap - Graphics.
Phaser. Time - Graphics.
Phaser. Tween