// Brain for a tank // // A standard interface for any type of control system. // // Author Matthew Caryl // Created 13.11.96 // // Although under copywrite to the author (Matthew Caryl) this code can be copied and modified for non-commercial // purposes as long as any derivatives contain this condition. package ThinkTank; import ADT.Random; interface Brain { public Brain breed(Random r); public Brain breed(Brain mate, Random r); public void sensor(TankSensor t); public void action(TankAction t); }