computc/adventure — pull request #31 by arcym (2014-10-04 18:23:30+00:00)
Title: Cleaned up the camera

Now the code shaking and peeking the camera aren't muddled up in the .getTargetX() but instead in .getOffsetX(). If we had more time, I would refactor peeking into the hero, and give that entity some sort of method that would calculate possible offsets (giving the camera class better functional cohesion), but that is beyond the scope of this changeset.