Show reserve drill plan in focused officer panel
This commit is contained in:
@@ -12806,7 +12806,12 @@ export class CampScene extends Phaser.Scene {
|
|||||||
? '출전 등록'
|
? '출전 등록'
|
||||||
: '동행 등록';
|
: '동행 등록';
|
||||||
this.renderSortiePanelButton(actionLabel, x + 18, y + height - 28, 108, 22, availability.available, selected, () => this.toggleSortieUnit(unit.id), depth + 1);
|
this.renderSortiePanelButton(actionLabel, x + 18, y + height - 28, 108, 22, availability.available, selected, () => this.toggleSortieUnit(unit.id), depth + 1);
|
||||||
this.trackSortie(this.add.text(x + 140, y + height - 24, hasBattle ? `${roleLabel} · 역할은 중앙 버튼으로 변경` : `${roleLabel} · 의정 역할은 중앙 버튼으로 변경`, this.textStyle(10, selected ? '#a8ffd0' : '#9fb0bf', true))).setDepth(depth + 1);
|
const footerText = selected
|
||||||
|
? hasBattle
|
||||||
|
? `${roleLabel} · 역할은 중앙 버튼으로 변경`
|
||||||
|
: `${roleLabel} · 의정 역할은 중앙 버튼으로 변경`
|
||||||
|
: `${this.campaign?.reserveTrainingAssignments[unit.id] ? '개별' : '기본'} ${this.reserveTrainingFocusDefinitionForUnit(unit.id).label} 예정`;
|
||||||
|
this.trackSortie(this.add.text(x + 140, y + height - 24, footerText, this.textStyle(10, selected ? '#a8ffd0' : '#9fb0bf', true))).setDepth(depth + 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
private renderSortieBattleUiIcon(iconKey: BattleUiIconKey, x: number, y: number, size: number, depth: number, alpha = 1) {
|
private renderSortieBattleUiIcon(iconKey: BattleUiIconKey, x: number, y: number, size: number, depth: number, alpha = 1) {
|
||||||
|
|||||||
Reference in New Issue
Block a user