| 29 | Camera::~Camera() {} |
| 30 | |
| 31 | void Camera::initialize(int x, int y, int width, int height) |
| 32 | { |
| 33 | position.x = x; |
| 34 | position.y = y; |
| 35 | size.x = width; |
| 36 | size.y = height; |
| 37 | velocity = Vector2(0.0f, 0.0f); |
| 38 | } |
| 39 | |
| 40 | void Camera::setOrthoMatrix() |
| 41 | { |