Moved the call of process_inputs() to tick().
Commented the sprites/textures.
Added find_nearest_object() and targeting for ObjectPlayer2Base.
Added _distance() helper to calculate the distance of two points, replaced old code where possible.
Added a more complex targeting for nearest/farthest/weakest/strongest target, also target locking.