phaser4-rex-plugins
Version:
25 lines (20 loc) • 588 B
TypeScript
import Tweaker from '../../ui/tweaker/Tweaker';
export default PropertiesPanel;
declare namespace PropertiesPanel {
interface IConfig extends Tweaker.IConfig {
}
interface IPropertyConfig extends Tweaker.IAddInputConfig {
colors?: {
primary?: number,
light?: number,
dark?: number,
}
}
}
declare class PropertiesPanel extends Tweaker {
constructor(
scene: Phaser.Scene,
config?: PropertiesPanel.IConfig,
extraProperties?: PropertiesPanel.IPropertyConfig[]
)
}