Ejemplo n.º 1
0
 public MoveUnitEvent(EventID eventID, object sender, EventArgs<Actors.Cursor, Pathfinder, float> e)
     : base(eventID, sender, e)
 {
     this.cursor = e.Value;
     this.pathfinder = e.Value2;
     this.moveSpeed = e.Value3;
 }
 public ShowMovementAreaEvent(EventID eventID, object sender, EventArgs<Pathfinder, Actors.Cursor> e)
     : base(eventID, sender, e)
 {
     this.pathfinder = e.Value;
     this.cursor = e.Value2;
 }
Ejemplo n.º 3
0
 public DeactivateUnitEvent(EventID eventID, object sender, EventArgs<Actors.Cursor, Faction> e)
     : base(eventID, sender, e)
 {
     this.cursor = e.Value;
     this.faction = e.Value2;
 }
Ejemplo n.º 4
0
 public SelectUnitEvent(EventID eventID, object sender, EventArgs<Actors.Cursor> e)
     : base(eventID, sender, e)
 {
     this.cursor = e.Value;
 }
Ejemplo n.º 5
0
 public ShowUnitWindowEvent(EventID eventID, object sender, EventArgs<UnitWindow, Actors.Cursor> e)
     : base(eventID, sender, e)
 {
     this.window = e.Value;
     this.cursor = e.Value2;
 }
 public PanCameraToSelectedUnitObjectEvent(EventID eventID, object sender, EventArgs<CameraHandler, Actors.Cursor, float> e)
     : base(eventID, sender, e)
 {
     this.cameraHandler = e.Value;
     this.cursor = e.Value2;
     this.panDuration = e.Value3;
     this.origin = cameraHandler.CameraPositionWithinBounds;
 }