Ejemplo n.º 1
0
        public Blackboard(ConversationData conversations)
        {
            Spawner.OnSpawn += OnCharacterSpawned;
            Conversation.ConversationStarted += OnConverationStarted;
            Conversation.ConversationEnded   += OnConversationEnded;

            _agentsByFaction[CharacterFaction.Triangle] = new List <AgentController>();
            _agentsByFaction[CharacterFaction.Circle]   = new List <AgentController>();
            _agentsByFaction[CharacterFaction.Square]   = new List <AgentController>();

            _conversations = conversations;
            _conversations.Setup();

            App.OnLevelLoaded += OnLevelLoaded;
        }