示例#1
0
 public BehaviorMove(WoWPoint[] locs, float distance = 10f, Movement.MovementTypes type = Movement.MovementTypes.Normal, bool stuckCheck = false)
 {
     _stuckCheck     = stuckCheck;
     _movementPoints = locs;
     _distance       = distance;
     MovementType    = type;
 }
 public BehaviorTransport(int transportId,
                          WoWPoint startLocation,
                          WoWPoint endLocation,
                          WoWPoint waitAtLocation,
                          WoWPoint standAtLocation,
                          WoWPoint getOffLocation,
                          Movement.MovementTypes movementType,
                          string destination = null)
 {
     TransportId     = transportId;
     StartPoint      = startLocation;
     EndPoint        = endLocation;
     WaitPoint       = waitAtLocation;
     StandPoint      = standAtLocation;
     GetOffPoint     = getOffLocation;
     MoveType        = movementType;
     DestinationName = destination;
 }
示例#3
0
 public BehaviorMove(WoWPoint loc, float distance = 10f, Movement.MovementTypes type = Movement.MovementTypes.Normal, bool stuckCheck = false)
     : this(new[] { loc }, distance, type, stuckCheck)
 {
 }