public static attackButtonEntity initialize(IAttackButton new_button) { if (button_entity == null) { button_entity = new attackButtonEntity(new_button); } return(button_entity); }
public TestView(battleController controller) { InitializeComponent(); this.controller = controller; turn_progress = new turnBackgroundWorker(new BackgroundWorker(), new turnTimingBar(turn_timing_bar)); this.console = new consoleWindow(console_window); this.timeline = new timelineWindow(timeline_window); this.combatants = new combatantsWindow(combatant_window); this.attack_button = new AttackButton(AttackButton); }
private attackButtonEntity(IAttackButton new_button) { attack_button = new_button; }