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