예제 #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;
 }
예제 #2
0
 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)
 {
 }