removed unused variables and the modularization todo.
didn't realize this yesterday, but I am not entirely sure we can modularize the two, the checks are actually different. Boundings checks left of sprite vs left wall (to keep it in) where timeout checks the right of sprite vs the left wall (to see if it is entirely outside). Same for the rest of the checks, they are opposite sides. If you still have an idea on that go ahead and replace it, but the checks are definitely different between the two.
removed unused variables and the modularization todo.
didn't realize this yesterday, but I am not entirely sure we can modularize the two, the checks are actually different. Boundings checks left of sprite vs left wall (to keep it in) where timeout checks the right of sprite vs the left wall (to see if it is entirely outside). Same for the rest of the checks, they are opposite sides. If you still have an idea on that go ahead and replace it, but the checks are definitely different between the two.