Changeset 9790 for branches/Robocode.TrunkInt/HeuristicLab.Problems.Robocode/3.3/Symbols/Abandoned/SetAdjustRadarForRobotTurn.cs
- Timestamp:
- 07/26/13 15:13:05 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/Robocode.TrunkInt/HeuristicLab.Problems.Robocode/3.3/Symbols/Abandoned/SetAdjustRadarForRobotTurn.cs
r9565 r9790 1 using HeuristicLab.Common; 1 #region License Information 2 /* HeuristicLab 3 * Copyright (C) 2002-2013 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 * 5 * This file is part of HeuristicLab. 6 * 7 * HeuristicLab is free software: you can redistribute it and/or modify 8 * it under the terms of the GNU General Public License as published by 9 * the Free Software Foundation, either version 3 of the License, or 10 * (at your option) any later version. 11 * 12 * HeuristicLab is distributed in the hope that it will be useful, 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 * GNU General Public License for more details. 16 * 17 * You should have received a copy of the GNU General Public License 18 * along with HeuristicLab. If not, see <http://www.gnu.org/licenses/>. 19 */ 20 #endregion 21 22 using HeuristicLab.Common; 2 23 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding; 3 24 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 4 25 5 namespace 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; } } 26 namespace HeuristicLab.Problems.Robocode { 27 [StorableClass] 28 public class SetAdjustRadarForRobotTurn : Symbol { 29 public override int MinimumArity { get { return 1; } } 30 public override int MaximumArity { get { return 1; } } 12 31 13 [StorableConstructor] 14 private SetAdjustRadarForRobotTurn(bool deserializing) : base(deserializing) { } 15 private SetAdjustRadarForRobotTurn(SetAdjustRadarForRobotTurn original, Cloner cloner) 16 : base(original, cloner) 17 { 18 } 32 [StorableConstructor] 33 private SetAdjustRadarForRobotTurn(bool deserializing) : base(deserializing) { } 34 private SetAdjustRadarForRobotTurn(SetAdjustRadarForRobotTurn original, Cloner cloner) 35 : base(original, cloner) { 36 } 19 37 20 public SetAdjustRadarForRobotTurn() 21 : base("SetAdjustRadarForRobotTurn", "Sets the radar to turn independent from the robot's turn.") 22 { 23 } 38 public SetAdjustRadarForRobotTurn() 39 : base("SetAdjustRadarForRobotTurn", "Sets the radar to turn independent from the robot's turn.") { 40 } 24 41 25 public override IDeepCloneable Clone(Cloner cloner) 26 { 27 return new SetAdjustRadarForRobotTurn(this, cloner); 28 } 42 public override IDeepCloneable Clone(Cloner cloner) { 43 return new SetAdjustRadarForRobotTurn(this, cloner); 29 44 } 45 } 30 46 }
Note: See TracChangeset
for help on using the changeset viewer.