public void Teleport(string player, string world, string coordinates) { var coords = new Coordinates(coordinates); using (var playerTag = LoadPlayer(world, player)) { var pos = GetPos(playerTag); coords.ApplyCoordinatesToPos(pos); } }
public void GetCoords(string player, string world) { using (var playerTag = LoadPlayer(world, player)) { var pos = GetPos(playerTag); var coords = new Coordinates(pos); Console.WriteLine(coords.ToString()); } }