public void UpdateDrawPoints(Point topLeftDraw, Point botRightDraw, Vector2 cameraPos) { // I think we need to clamp these somehow so we dont go off the map this.topLeftDraw = WorldController.ClampPointToWorld(topLeftDraw); this.botRightDraw = WorldController.ClampPointToWorld(botRightDraw); listBoxCamera.cameraPosition = cameraPos; }
public void UpdateDrawPoints(Point topLeftDraw, Point botRightDraw) { this.topLeftDraw = WorldController.ClampPointToWorld(topLeftDraw); this.botRightDraw = WorldController.ClampPointToWorld(botRightDraw); }