Attempt at fixing memory mess.
[progcomp10.git] / src / link / cAgent.py
1 '''cAgent.py - a bot shell for talking to C bots.
2 Written by Daniel Axtens <[email protected]> for the UCC Programming Competition in 2010.
3
4 This is a separate class to externAgent so that changes can be made
5 without requiring C agents to have their wrapper scripts rewritten.
6
7 Licensed under an MIT-style license: see the LICENSE file for details.
8 '''
9
10 from link.externAgent import externAgent
11
12 class cAgent (externAgent):
13     """A class for handling agents in C. 
14     A subclass of externAgent so that changes can be made to how all external
15     agents are handled, or how all C agents are handled, without requiring C 
16     agents to have their wrapper scripts rewritten. Use this in preference to 
17     externAgent for C agents."""

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