- Timestamp:
- 03/11/13 16:47:11 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/ImprovingStringConvertibleMatrix/HeuristicLab.Problems.ArtificialAnt/3.4/AntTrail.cs
r9286 r9306 21 21 22 22 using System; 23 using System.Collections.Generic;24 23 using System.Drawing; 25 24 using HeuristicLab.Common; … … 141 140 142 141 private void RegisterWorldEvents() { 143 World.ItemsChanged += new EventHandler< EventArgs<IEnumerable<Position>>>(World_ItemChanged);142 World.ItemsChanged += new EventHandler<MatrixValuesChangedEventArgs>(World_ItemChanged); 144 143 World.Reset += new EventHandler(World_Reset); 145 144 } 146 145 private void DeregisterWorldEvents() { 147 World.ItemsChanged -= new EventHandler< EventArgs<IEnumerable<Position>>>(World_ItemChanged);146 World.ItemsChanged -= new EventHandler<MatrixValuesChangedEventArgs>(World_ItemChanged); 148 147 World.Reset -= new EventHandler(World_Reset); 149 148 } … … 158 157 OnMaxTimeStepsChanged(); 159 158 } 160 private void World_ItemChanged(object sender, EventArgs<IEnumerable<Position>>e) {159 private void World_ItemChanged(object sender, MatrixValuesChangedEventArgs e) { 161 160 OnWorldChanged(); 162 161 }
Note: See TracChangeset
for help on using the changeset viewer.