1
0
Fork 0
spacetac/src/scripts/view/widgets/ActionIcon.ts

8 lines
299 B
TypeScript

module SpaceTac.View.Widgets {
// Icon to activate a ship capability (move, fire...)
export class ActionIcon extends Phaser.Button {
constructor(battleview: BattleView, x: number, y:number, code: string) {
super(battleview.game, x, y, 'action-' + code);
}
}
}