ButtonBase

new ButtonBase()

Кнопка, сдвигающая label у parent при нажатии.

Source:
Extends
  • Phaser.Button

Methods

changeStateFrame(state) → {boolean}

Вызывается игрой для смены состояния кнопки.

Source:
Parameters:
Name Type Description
state string

новое состояние

Returns:
Type:
boolean

Было ли присвоено новое состояние.