Ejemplo n.º 1
0
 public void select_take()
 {
     if (Supply_Window.can_take_active_item(this.actor))
     {
         Global.game_system.play_se(System_Sounds.Confirm);
         Item_Selection_Window = new Window_Command_Item_Convoy_Take(
             Unit_Id, Supply_Window.loc + new Vector2(8, 20));
         Item_Selection_Window.stereoscopic = Config.CONVOY_SELECTION_DEPTH;
         refresh_select_take();
         Supply_Window.active = false;
     }
     else
     {
         Global.game_system.play_se(System_Sounds.Buzzer);
     }
 }
Ejemplo n.º 2
0
 public void cancel_selecting_take()
 {
     Item_Selection_Window = null;
     Supply_Window.active  = true;
 }