Beispiel #1
0
 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;
 }
Beispiel #2
0
 public void UpdateDrawPoints(Point topLeftDraw, Point botRightDraw)
 {
     this.topLeftDraw  = WorldController.ClampPointToWorld(topLeftDraw);
     this.botRightDraw = WorldController.ClampPointToWorld(botRightDraw);
 }