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
#removeAll Source
removeAll :: Boolean -> PhaserContainer -> Effect PhaserContainer
Removes all children from a container - the argument controls if they are destroyed as well
#list Source
list :: forall a. GameObject a => PhaserContainer -> Effect (Array a)
Returns an array of the container's game objects.
#getByName Source
getByName :: forall a. GameObject a => String -> PhaserContainer -> Effect (Maybe a)
- Modules
- Graphics.
Phaser - Graphics.
Phaser. ArcadePhysics - Graphics.
Phaser. Camera - Graphics.
Phaser. Container - Graphics.
Phaser. CoreTypes - Graphics.
Phaser. Curves - Graphics.
Phaser. Display. RGB - Graphics.
Phaser. Events - Graphics.
Phaser. ForeignTypes - Graphics.
Phaser. GameConfig - Graphics.
Phaser. GameObject - Graphics.
Phaser. GameObjects. LightsManager - Graphics.
Phaser. Graphics - Graphics.
Phaser. Image - Graphics.
Phaser. Input. InputPlugin - Graphics.
Phaser. Input. Pointer - Graphics.
Phaser. Loader - Graphics.
Phaser. Scene - Graphics.
Phaser. SceneManager - Graphics.
Phaser. Sprite - Graphics.
Phaser. Text - Graphics.
Phaser. TileMap - Graphics.
Phaser. Time - Graphics.
Phaser. Tween - Graphics.
Tweens. TweenManager - Internal.
Utils - Phaser.
Graphics. Input. KeyCodes - Utils.
FFI