public void BeginManage() { leftDisplayer.Display(leftContainer); rightDisplayer.Display(rightContainer); while (true) { ctr.Check(); } }
public void Move(List <Furniture> furnitures) { foreach (var furniture in furnitures) { var furnitureName = furniture.Name; var beforeLocation = furniture.Location.ToString(); furniture.Move(random.Next(1, 10), random.Next(1, 10)); var afterLocation = furniture.Location.ToString(); var content = String.Format($"{furnitureName}: {beforeLocation} -> {afterLocation}"); viewer.Display(content); } }
private void displayActionPointsTreeButton_Click(object sender, EventArgs e) { Debug.WriteLine("Дерево поиска по количеству очков действий:"); _actionPointsTree.Display(); }
private void displayHealthTreeButton_Click(object sender, EventArgs e) { Debug.WriteLine("Дерево поиска по количеству здоровья:"); _healthTree.Display(); }
private void displayClanTreeButton_Click(object sender, EventArgs e) { Debug.WriteLine("Дерево поиска по имени клана:"); _clanTree.Display(); }
private void displayNameTreeButton_Click(object sender, EventArgs e) { Debug.WriteLine("Дерево поиска по имени:"); _nameTree.Display(); }
public void Display() { _displayMethod.Display(_temperature, _humidity, _pressure); }
static void DisplayYourself(IDisplayable myObject) { //Any objected passed into this method must have a Display() method implemented. myObject.Display(); }