-
Notifications
You must be signed in to change notification settings - Fork 4
Tools
find_shot(agent, target, cap_=6, can_aerial=True, can_double_jump=True, can_jump=True, can_ground=True)
Returns an instance of ground_shot, jump_shot, double_jump, or Aerial if it could find one. If not, it will return None.
-
agent- An instance of VirxERLU. If you're running this from an instance of VirxERLU, pass inself. -
target- A tuple ofVectors like(left, right) -
cap_- The max number of seconds into the future that the method should go. Default & max is 6. -
can_aerial- Whether or not to returns instances ofAerial. Default isTrue. -
can_double_jump- Whether or not to returns instances ofdouble_jump. Default isTrue. -
can_jump- Whether or not to returns instances ofjump_shot. Default isTrue. -
can_ground- Whether or not to returns instances ofground_shot. Default isTrue.
Returns an instance of ground_shot, jump_shot, double_jump, or Aerial if it could find one. If not, it will return None.
-
agent- An instance of VirxERLU. If you're running this from an instance of VirxERLU, pass inself. -
cap_- The max number of seconds into the future that the method should go. Default & max is 6. -
can_aerial- Whether or not to returns instances ofAerial. Default isTrue. -
can_double_jump- Whether or not to returns instances ofdouble_jump. Default isTrue. -
can_jump- Whether or not to returns instances ofjump_shot. Default isTrue. -
can_ground- Whether or not to returns instances ofground_shot. Default isTrue.
Returns an instance of ground_shot (see utils/routines.py) if it could find one. If not, it will return None.
-
agent- An instance of VirxERLU. If you're running this from an instance of VirxERLU, pass inself. -
target- A tuple ofVectors like(left, right) -
cap_- The max number of seconds into the future that the method should go. Default & max is 6.
Returns an instance of ground_shot (see utils/routines.py) if it could find one. If not, it will return None.
-
agent- An instance of VirxERLU. If you're running this from an instance of VirxERLU, pass inself. -
cap_- The max number of seconds into the future that the method should go. Default & max is 6.
Returns an instance of jump_shot (see utils/routines.py) if it could find one. If not, it will return None.
-
agent- An instance of VirxERLU. If you're running this from an instance of VirxERLU, pass inself. -
target- A tuple ofVectors like(left, right) -
cap_- The max number of seconds into the future that the method should go. Default & max is 6.
Returns an instance of jump_shot (see utils/routines.py) if it could find one. If not, it will return None.
-
agent- An instance of VirxERLU. If you're running this from an instance of VirxERLU, pass inself. -
cap_- The max number of seconds into the future that the method should go. Default & max is 6.
Returns an instance of double_jump (see utils/routines.py) if it could find one. If not, it will return None.
-
agent- An instance of VirxERLU. If you're running this from an instance of VirxERLU, pass inself. -
target- A tuple ofVectors like(left, right) -
cap_- The max number of seconds into the future that the method should go. Default & max is 6.
Returns an instance of double_jump (see utils/routines.py) if it could find one. If not, it will return None.
-
agent- An instance of VirxERLU. If you're running this from an instance of VirxERLU, pass inself. -
cap_- The max number of seconds into the future that the method should go. Default & max is 6.
Returns an instance of Aerial (see utils/routines.py) if it could find one. If not, it will return None.
-
agent- An instance of VirxERLU. If you're running this from an instance of VirxERLU, pass inself. -
target- A tuple ofVectors like(left, right) -
cap_- The max number of seconds into the future that the method should go. Default & max is 6.
Returns an instance of Aerial (see utils/routines.py) if it could find one. If not, it will return None.
-
agent- An instance of VirxERLU. If you're running this from an instance of VirxERLU, pass inself. -
cap_- The max number of seconds into the future that the method should go. Default & max is 6.