| | 1 | | using System; |
| | 2 | | using System.Collections; |
| | 3 | | using DCL; |
| | 4 | | using DCL.Interface; |
| | 5 | | using UnityEngine; |
| | 6 | |
|
| | 7 | | public class TeleportController : ITeleportController |
| | 8 | | { |
| | 9 | |
|
| | 10 | | public void Teleport(int x, int y) |
| | 11 | | { |
| 0 | 12 | | WebInterface.GoTo(x, y); |
| 0 | 13 | | } |
| | 14 | |
|
| | 15 | | public void JumpIn(int coordsX, int coordsY, string serverName, string layerName) |
| | 16 | | { |
| 0 | 17 | | WebInterface.JumpIn(coordsX, coordsY, serverName, layerName); |
| 0 | 18 | | } |
| | 19 | |
|
| | 20 | | public void GoToCrowd() |
| | 21 | | { |
| 0 | 22 | | WebInterface.GoToCrowd(); |
| 0 | 23 | | } |
| | 24 | |
|
| | 25 | | public void GoToMagic() |
| | 26 | | { |
| 0 | 27 | | WebInterface.GoToMagic(); |
| 0 | 28 | | } |
| | 29 | |
|
| | 30 | | public void Dispose() |
| | 31 | | { |
| 667 | 32 | | } |
| | 33 | |
|
| | 34 | | public void Initialize() |
| | 35 | | { |
| | 36 | |
|
| 667 | 37 | | } |
| | 38 | |
|
| | 39 | | } |
| | 40 | |
|