projectVector method
Converts a vector in the world space to the screen space.
This considers both the translation and scaling transformations.
Implementation
@override
Vector2 projectVector(Vector2 worldCoordinates) {
return (worldCoordinates - _position) * zoom;
}