Free cookie consent management tool by TermsFeed Policy Generator

source: branches/Robocode/HeuristicLab.Problems.Robocode/Symbols/Abandoned/SetAdjustRadarForRobotTurn.cs @ 12448

Last change on this file since 12448 was 9565, checked in by melkaref, 12 years ago

Robocode Plugin code without Mutation Operators

File size: 1.0 KB
Line 
1using HeuristicLab.Common;
2using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding;
3using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
4
5namespace HeuristicLab.Problems.Robocode
6{
7    [StorableClass]
8    public class SetAdjustRadarForRobotTurn : Symbol
9    {
10        public override int MinimumArity { get { return 1; } }
11        public override int MaximumArity { get { return 1; } }
12
13        [StorableConstructor]
14        private SetAdjustRadarForRobotTurn(bool deserializing) : base(deserializing) { }
15        private SetAdjustRadarForRobotTurn(SetAdjustRadarForRobotTurn original, Cloner cloner)
16            : base(original, cloner)
17        {
18        }
19
20        public SetAdjustRadarForRobotTurn()
21            : base("SetAdjustRadarForRobotTurn", "Sets the radar to turn independent from the robot's turn.")
22        {
23        }
24
25        public override IDeepCloneable Clone(Cloner cloner)
26        {
27            return new SetAdjustRadarForRobotTurn(this, cloner);
28        }
29    }
30}
Note: See TracBrowser for help on using the repository browser.