예제 #1
0
 public NpcGotoCommand(EntityAnimalBot entity, Vec3d target, string animCode = "walk", float gotoSpeed = 0.02f, float animSpeed = 1)
 {
     this.entity    = entity;
     this.Target    = target;
     this.AnimSpeed = animSpeed;
     this.AnimCode  = animCode;
     this.GotoSpeed = gotoSpeed;
 }
예제 #2
0
 public NpcPlayAnimationCommand(EntityAnimalBot entity, string animCode, float animSpeed)
 {
     this.entity    = entity;
     this.AnimCode  = animCode;
     this.AnimSpeed = animSpeed;
 }
예제 #3
0
 public NpcTeleportCommand(EntityAnimalBot entity, Vec3d target)
 {
     this.entity = entity;
     this.Target = target;
 }