start to change action system

This commit is contained in:
Vladimir Koshevarov
2022-08-18 16:07:06 +03:00
parent a9e1db4ac2
commit 9366aa479c
11 changed files with 31 additions and 49 deletions
@@ -1,5 +1,3 @@
using Assets.Scripts.Actions;
using System.Collections.Generic;
using UnityEditor;
using UnityEngine;
@@ -22,19 +20,7 @@ public class TestingQuestionDialog : MonoBehaviour
});
}
if (Input.GetKeyDown(KeyCode.Space))
{
Dictionary<string, BaseAction> optionsList = new Dictionary<string, BaseAction>
{
{ "Hamburgers - 83$", new Eat(null, 6, 1, 83) },
{ "Cheesburger - 94$", new Eat(null, 6, 1, 94) },
{ "Astro chicken - 131$", new Eat(null, 6, 1, 131) },
{ "Fries - 68$", new Eat(null, 6, 1, 68) },
{ "Shakes - 108$", new Eat(null, 6, 1, 108) },
{ "Colas - 73$", new Eat(null, 6, 1, 73) }
};
ConversationController.Instance.Change("Monolith burger", optionsList);
}
}