diff --git a/Assets/SimpleBot/Library/BotEngine.cs b/Assets/SimpleBot/Library/BotEngine.cs index 813fbab..0bdfc80 100644 --- a/Assets/SimpleBot/Library/BotEngine.cs +++ b/Assets/SimpleBot/Library/BotEngine.cs @@ -10,10 +10,11 @@ namespace SimpleBot /// file and manage dialogue between a user and bot. /// public class BotEngine - { + { + public float VERSION = 0.7f; private IntentIdentifier identifier; private IDictionary> responders; - private State state; + private State state; /// /// Initializes a new instance of the class. @@ -21,10 +22,12 @@ public class BotEngine /// Configuration object loaded from the configuration file public BotEngine(Configuration config) { + Debug.Log(String.Format("Generating BotEngine version {0:F}", VERSION)); setResources(config); } public BotEngine(string configurationString) { + Debug.Log(String.Format("Generating BotEngine version {0:F}", VERSION)); ConfigurationLoader configurationLoader = new ConfigurationLoader(); Configuration config = configurationLoader.loadFromString(configurationString); setResources(config);