Changeset 9286 for branches/ImprovingStringConvertibleMatrix/HeuristicLab.Problems.ArtificialAnt/3.4/AntTrail.cs
- Timestamp:
- 03/05/13 16:37:17 (12 years ago)
- Location:
- branches/ImprovingStringConvertibleMatrix
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/ImprovingStringConvertibleMatrix
-
Property
svn:ignore
set to
*.suo
-
Property
svn:ignore
set to
-
branches/ImprovingStringConvertibleMatrix/HeuristicLab.Problems.ArtificialAnt/3.4/AntTrail.cs
r7259 r9286 21 21 22 22 using System; 23 using System.Collections.Generic; 23 24 using System.Drawing; 24 25 using HeuristicLab.Common; … … 140 141 141 142 private void RegisterWorldEvents() { 142 World.Item Changed += new EventHandler<EventArgs<int, int>>(World_ItemChanged);143 World.ItemsChanged += new EventHandler<EventArgs<IEnumerable<Position>>>(World_ItemChanged); 143 144 World.Reset += new EventHandler(World_Reset); 144 145 } 145 146 private void DeregisterWorldEvents() { 146 World.Item Changed -= new EventHandler<EventArgs<int, int>>(World_ItemChanged);147 World.ItemsChanged -= new EventHandler<EventArgs<IEnumerable<Position>>>(World_ItemChanged); 147 148 World.Reset -= new EventHandler(World_Reset); 148 149 } … … 157 158 OnMaxTimeStepsChanged(); 158 159 } 159 private void World_ItemChanged(object sender, EventArgs< int, int> e) {160 private void World_ItemChanged(object sender, EventArgs<IEnumerable<Position>> e) { 160 161 OnWorldChanged(); 161 162 }
Note: See TracChangeset
for help on using the changeset viewer.