Exemple #1
0
        public void Move(IGame game)
        {
            var food           = new FoodDto();
            var characteristic = new CharacteristicDto();

            var inputElementForm = new InputElementForm(food);

            inputElementForm.ShowDialog();

            var completeForm = new CompleteForm(characteristic, food.Name, game.LabelCurrentNode);

            completeForm.ShowDialog();

            var newElement = new NewGameNodeDto(characteristic.Name, food.Name);

            game.AddElement(newElement);
            game.Reset();
        }