常用方法
常用方法
常用方法
常用方法
public override void Login() { Console.WriteLine("Please type your desired name:"); var name = Console.ReadLine(); _connectionService.Create(name); _connectionService.SetConnectionStrategy(new ConnectionLogin()); _connectionService.Run(); _me = _connectionService.GetMe(); Console.WriteLine("Hello " + _me.Name); Console.WriteLine("You have " + _me.Money + " zł"); }