Changeset 10011 for branches/Robocode.TrunkInt/HeuristicLab.Problems.Robocode/3.3/Symbols/Void Methods/DoNothing.cs
- Timestamp:
- 10/01/13 12:08:25 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/Robocode.TrunkInt/HeuristicLab.Problems.Robocode/3.3/Symbols/Void Methods/DoNothing.cs
r9790 r10011 20 20 #endregion 21 21 22 22 using System.Collections.Generic; 23 23 using HeuristicLab.Common; 24 24 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding; … … 38 38 39 39 [StorableConstructor] 40 private DoNothing(bool deserializing) : base(deserializing) { } 41 private DoNothing(DoNothing original, Cloner cloner) 42 : base(original, cloner) { 43 } 40 protected DoNothing(bool deserializing) : base(deserializing) { } 41 protected DoNothing(DoNothing original, Cloner cloner) : base(original, cloner) { } 44 42 45 public DoNothing() 46 : base("DoNothing", "Do nothing this turn, meaning that the robot will skip it's turn.") { 47 } 43 public DoNothing() : base("DoNothing", "Do nothing this turn, meaning that the robot will skip it's turn.") { } 48 44 49 45 public override IDeepCloneable Clone(Cloner cloner) { … … 51 47 } 52 48 53 public override string Interpret(ISymbolicExpressionTreeNode node, System.Collections.Generic.IEnumerable<ISymbolicExpressionTreeNode> children) {54 return " ";49 public override string Interpret(ISymbolicExpressionTreeNode node, IEnumerable<ISymbolicExpressionTreeNode> children) { 50 return ";"; 55 51 } 56 52 }
Note: See TracChangeset
for help on using the changeset viewer.