diff options
Diffstat (limited to 'OpenSim/Tools/pCampBot/Interfaces/IBehaviour.cs')
-rw-r--r-- | OpenSim/Tools/pCampBot/Interfaces/IBehaviour.cs | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/OpenSim/Tools/pCampBot/Interfaces/IBehaviour.cs b/OpenSim/Tools/pCampBot/Interfaces/IBehaviour.cs index 912216f..9c984be 100644 --- a/OpenSim/Tools/pCampBot/Interfaces/IBehaviour.cs +++ b/OpenSim/Tools/pCampBot/Interfaces/IBehaviour.cs | |||
@@ -37,9 +37,18 @@ namespace pCampBot.Interfaces | |||
37 | string Name { get; } | 37 | string Name { get; } |
38 | 38 | ||
39 | /// <summary> | 39 | /// <summary> |
40 | /// Initialize the behaviour for this bot. | ||
41 | /// </summary> | ||
42 | /// <remarks> | ||
43 | /// This must be invoked before Action() is called. | ||
44 | /// </remarks> | ||
45 | /// <param name="bot"></param> | ||
46 | void Initialize(Bot bot); | ||
47 | |||
48 | /// <summary> | ||
40 | /// Action to take when this behaviour is invoked. | 49 | /// Action to take when this behaviour is invoked. |
41 | /// </summary> | 50 | /// </summary> |
42 | /// <param name="bot"></param> | 51 | /// <param name="bot"></param> |
43 | void Action(Bot bot); | 52 | void Action(); |
44 | } | 53 | } |
45 | } \ No newline at end of file | 54 | } \ No newline at end of file |