Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
07/26/13 15:13:05 (11 years ago)
Author:
ascheibe
Message:

#2069

  • added license headers
  • corrected version information
  • fixed formatting
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
     22using HeuristicLab.Common;
    223using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding;
    324using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
    425
    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; } }
     26namespace 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; } }
    1231
    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    }
    1937
    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    }
    2441
    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);
    2944    }
     45  }
    3046}
Note: See TracChangeset for help on using the changeset viewer.