diff options
author | Justin Clark-Casey (justincc) | 2013-09-03 19:33:17 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2013-09-03 19:33:17 +0100 |
commit | 3dbe7313d1c3fc28f0642531fbb6e238a98ac821 (patch) | |
tree | fdb7503109ee947e5bb9fd7d6fbe31933a0aa2e1 /OpenSim/Tools/pCampBot/Behaviours/AbstractBehaviour.cs | |
parent | Add pCampbot "remove behaviour" console command for removing bot behaviours d... (diff) | |
download | opensim-SC-3dbe7313d1c3fc28f0642531fbb6e238a98ac821.zip opensim-SC-3dbe7313d1c3fc28f0642531fbb6e238a98ac821.tar.gz opensim-SC-3dbe7313d1c3fc28f0642531fbb6e238a98ac821.tar.bz2 opensim-SC-3dbe7313d1c3fc28f0642531fbb6e238a98ac821.tar.xz |
Add Close() method to IBehaviour to allow behaviours to cleanup when removed or bot it disconnected.
In this case, it is used to turn off jump when physics testing behaviour is removed.
Diffstat (limited to 'OpenSim/Tools/pCampBot/Behaviours/AbstractBehaviour.cs')
-rw-r--r-- | OpenSim/Tools/pCampBot/Behaviours/AbstractBehaviour.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenSim/Tools/pCampBot/Behaviours/AbstractBehaviour.cs b/OpenSim/Tools/pCampBot/Behaviours/AbstractBehaviour.cs index 66d5542..9bc8512 100644 --- a/OpenSim/Tools/pCampBot/Behaviours/AbstractBehaviour.cs +++ b/OpenSim/Tools/pCampBot/Behaviours/AbstractBehaviour.cs | |||
@@ -50,5 +50,7 @@ namespace pCampBot | |||
50 | { | 50 | { |
51 | Bot = bot; | 51 | Bot = bot; |
52 | } | 52 | } |
53 | |||
54 | public virtual void Close() {} | ||
53 | } | 55 | } |
54 | } | 56 | } |