X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;ds=sidebyside;f=src%2Flink%2FcAgent.py;fp=src%2Flink%2FcAgent.py;h=5d445aa0db608abbc00da0feac6a207320b8d7a3;hb=13eb5cad5dedf0cc7a01f7f8d50812b14288e71d;hp=0000000000000000000000000000000000000000;hpb=bde6a9634c116c190cb631e962ccda551503a5c5;p=progcomp10.git diff --git a/src/link/cAgent.py b/src/link/cAgent.py new file mode 100644 index 0000000..5d445aa --- /dev/null +++ b/src/link/cAgent.py @@ -0,0 +1,17 @@ +'''cAgent.py - a bot shell for talking to C bots. +Written by Daniel Axtens for the UCC Programming Competition in 2010. + +This is a separate class to externAgent so that changes can be made +without requiring C agents to have their wrapper scripts rewritten. + +Licensed under an MIT-style license: see the LICENSE file for details. +''' + +from link.externAgent import externAgent + +class cAgent (externAgent): + """A class for handling agents in C. + A subclass of externAgent so that changes can be made to how all external + agents are handled, or how all C agents are handled, without requiring C + agents to have their wrapper scripts rewritten. Use this in preference to + externAgent for C agents.""" \ No newline at end of file