void touch_leg_stick(als_touch_control control) { if (control.last_state() == e_touch_control_state.directed) { _player_pawn.body_leg_full_direct(control.last_direction()); } else if (control.last_state() == e_touch_control_state.tapped || (control.last_state() == e_touch_control_state.hold && _player_pawn.is_leg_grouped())) { _player_pawn.body_leg_group(); } }
void touch_joystick(als_touch_control control) { if (control.last_state() == e_touch_control_state.directed) { _player_pawn.body_direct(control.last_direction()); } else if (control.last_state() == e_touch_control_state.tapped) { _player_pawn.body_arm_group(); } }