Shaku

Shaku JS

Back To Table of Content

Manager

IManager

Interface for any manager. Manager = manages a domain in Shaku, such as gfx (graphics), sfx (sounds), input, etc.

Kind: global class

iManager.setup() ⇒ Promise

Initialize the manager.

Kind: instance method of IManager
Returns: Promise - Promise to resolve when initialization is done.

iManager.startFrame()

Called every update at the begining of the frame.

Kind: instance method of IManager

iManager.endFrame()

Called every update at the end of the frame.

Kind: instance method of IManager

iManager.destroy()

Destroy the manager.

Kind: instance method of IManager