Пример #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="TimeDelayedMapEventBase"/> class.
 /// </summary>
 /// <param name="map">The <see cref="IDrawableMap"/> to add the <paramref name="mapGrhEffect"/> to.</param>
 /// <param name="mapGrhEffect">The <see cref="MapGrhEffect"/> to add when the time elapses.</param>
 /// <param name="delay">The delay in milliseconds before the <paramref name="mapGrhEffect"/> is added to the map.</param>
 public TimeDelayedMapGrhEffect(IDrawableMap map, MapGrhEffect mapGrhEffect, int delay) : base(delay)
 {
     _map = map;
     _effect = mapGrhEffect;
 }
Пример #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="TimeDelayedMapEventBase"/> class.
 /// </summary>
 /// <param name="map">The <see cref="IDrawableMap"/> to add the <paramref name="mapGrhEffect"/> to.</param>
 /// <param name="mapGrhEffect">The <see cref="MapGrhEffect"/> to add when the time elapses.</param>
 /// <param name="delay">The delay in milliseconds before the <paramref name="mapGrhEffect"/> is added to the map.</param>
 public TimeDelayedMapGrhEffect(IDrawableMap map, MapGrhEffect mapGrhEffect, int delay) : base(delay)
 {
     _map    = map;
     _effect = mapGrhEffect;
 }