split off c agents into cAgent.py. created a script to churn out a python module...
[progcomp10.git] / src / link / cAgent.py
diff --git a/src/link/cAgent.py b/src/link/cAgent.py
new file mode 100644 (file)
index 0000000..5d445aa
--- /dev/null
@@ -0,0 +1,17 @@
+'''cAgent.py - a bot shell for talking to C bots.
+Written by Daniel Axtens <[email protected]> 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

UCC git Repository :: git.ucc.asn.au