예제 #1
0
 public Point GetTilePosition(int tileSize)
 {
     return((VectorHelper.ScreenToWorldCoords(currentPosition, camera) / tileSize).ToPoint());
 }
예제 #2
0
 public Vector2 GetWorldPosition()
 {
     return(VectorHelper.ScreenToWorldCoords(currentPosition, camera));
 }