public void Acquaintance() { var ioM = new IoManager(); string playerName = ioM.ReadName(); ioM.WriteStepMessage("Are you ready? =^.^= Have a nice adventure =^.^=, " + playerName + "!"); ioM.WriteStepMessage(TextContainer.earthText); }
static void Main(string[] args) { var ioManager = new IoManager(); var menuWorker = new MenuWorker(); ioManager.WriteStepMessage("Hello, do you want to play game?"); ioManager.WriteStepMessage("Write:\nY - if you want play\nN - if you want close the program"); menuWorker.MainMenu(); }