Exemplo n.º 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;
 }
Exemplo n.º 2
0
 public NpcPlayAnimationCommand(EntityAnimalBot entity, string animCode, float animSpeed)
 {
     this.entity    = entity;
     this.AnimCode  = animCode;
     this.AnimSpeed = animSpeed;
 }
Exemplo n.º 3
0
 public NpcTeleportCommand(EntityAnimalBot entity, Vec3d target)
 {
     this.entity = entity;
     this.Target = target;
 }