pub fn command_add_escape(&mut self, party: usize) -> BattleError
	{
		debug_assert!(party <= self.state().parties().len());

		if self.processing != BattleInputState::Ready
		{
			BattleError::Rejected
		}
		else
		{
			self.queue.command_add_party(CommandType::Escape(CommandEscape
			{
				party: party,
			}), party);
			BattleError::None
		}
	}
/// Adds a party central command for escaping which prematurely ends the battle.
///
/// This command will remove any commands attached to individual party members.
///
Adds a party central command for escaping which prematurely ends the battle.
This command will remove any commands attached to individual party members.
Adds a party central command for escaping which prematurely ends the battle . This command will remove any commands attached to individual party members .
pub fn command_add_escape(&mut self, party: usize) -> BattleError
	{
		debug_assert!(party <= self.state().parties().len());
		if self.processing != BattleInputState::Ready
		{
			BattleError::Rejected
		}
		else
		{
			self.queue.command_add_party(CommandType::Escape(CommandEscape
			{
				party: party,
			}), party);
			BattleError::None
		}
	}
pub fn command_add_escape ( & mut self , party : usize ) -> BattleError { debug_assert ! ( party self state ( ) parties ( ) len ( ) ) ; if self . processing != BattleInputState :: Ready { BattleError :: Rejected } else { self . queue . command_add_party ( CommandType :: Escape ( CommandEscape { party : party , } ) , party ) ; BattleError :: None } }
Adds a party central command for escaping which prematurely ends the battle.
Adds a party central command for escaping which prematurely ends the battle .
&mut self
party
usize
&mut self
party
usize