Created a Camera2D class and was able to implement it.