diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Tools/pCampBot/Interfaces/IBehaviour.cs | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/OpenSim/Tools/pCampBot/Interfaces/IBehaviour.cs b/OpenSim/Tools/pCampBot/Interfaces/IBehaviour.cs index 9c984be..660c630 100644 --- a/OpenSim/Tools/pCampBot/Interfaces/IBehaviour.cs +++ b/OpenSim/Tools/pCampBot/Interfaces/IBehaviour.cs | |||
@@ -32,6 +32,11 @@ namespace pCampBot.Interfaces | |||
32 | public interface IBehaviour | 32 | public interface IBehaviour |
33 | { | 33 | { |
34 | /// <summary> | 34 | /// <summary> |
35 | /// Abbreviated name of this behaviour. | ||
36 | /// </summary> | ||
37 | string AbbreviatedName { get; } | ||
38 | |||
39 | /// <summary> | ||
35 | /// Name of this behaviour. | 40 | /// Name of this behaviour. |
36 | /// </summary> | 41 | /// </summary> |
37 | string Name { get; } | 42 | string Name { get; } |
@@ -46,6 +51,22 @@ namespace pCampBot.Interfaces | |||
46 | void Initialize(Bot bot); | 51 | void Initialize(Bot bot); |
47 | 52 | ||
48 | /// <summary> | 53 | /// <summary> |
54 | /// Interrupt the behaviour. | ||
55 | /// </summary> | ||
56 | /// <remarks> | ||
57 | /// This should cause the current Action call() to terminate if this is active. | ||
58 | /// </remarks> | ||
59 | void Interrupt(); | ||
60 | |||
61 | /// <summary> | ||
62 | /// Close down this behaviour. | ||
63 | /// </summary> | ||
64 | /// <remarks> | ||
65 | /// This is triggered if a behaviour is removed via explicit command and when a bot is disconnected | ||
66 | /// </remarks> | ||
67 | void Close(); | ||
68 | |||
69 | /// <summary> | ||
49 | /// Action to take when this behaviour is invoked. | 70 | /// Action to take when this behaviour is invoked. |
50 | /// </summary> | 71 | /// </summary> |
51 | /// <param name="bot"></param> | 72 | /// <param name="bot"></param> |