Labyrinth
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends
Public Types | Public Member Functions | List of all members
LxS::Game::AIAgent Class Reference

AI agent for computer controlled character. More...

#include <aiagent.hpp>

Collaboration diagram for LxS::Game::AIAgent:
Collaboration graph

Public Types

typedef std::vector< std::string > DialogueLines
 What can NPC tell to this PC?
 

Public Member Functions

 AIAgent (Character *_s)
 constructor - associated character must be given
 
void Animate (float dt)
 perform actions that could have happened in dt time
 
bool IsWillingToTalk ()
 is this NPC willing to talk?
 
std::string GetAnswer ()
 what does the NPC say
 
DialogueLines GetPossibleQuestions ()
 What can PC say to this NPC right now?
 
void SetDialoguesFile (std::string &dial_file)
 file containing statements and dialogue reaction
 
void Say (std::string &s)
 say sentence s to this NPC character
 

Detailed Description

AI agent for computer controlled character.


The documentation for this class was generated from the following files: