API Docs for: 0.0.2
Show:

Atlantis.GameComponent Class

Module: Framework
Parent Module: Atlantis

Create a game component.

Constructor

Atlantis.GameComponent

(
  • game
)

Parameters:

Methods

@setEnabled

(
  • enabled
)

Gets the status of the component.

Parameters:

  • enabled Boolean

    Sets to true to enable

initialize

()

Initialize the logic of the component.

isEnabled

() Boolean

Gets the status of the component.

Returns:

Boolean:

The status of the component.

isInitialized

() Boolean

Flags used to determine if the initialization processes is done.

Returns:

update

(
  • gameTime
)

Update the logic of the component.

Parameters: