public void OnSsh(SshKey sshKey) { exploredHosts.Add(currentHost); Player.I.MoveTo(sshKey.GetHost().GetRootDirectory()); currentHost = sshKey.GetHost(); currentHost.SetUser(sshKey.GetUser()); currentHost.Init(exploredHosts.Count + 1); onSsh.Invoke(sshKey); }