Exemplo n.º 1
0
 public void BuildCommand(UnityInterwork.EntityMirror em, int id, Vector3 point)
 {
     if (comsat == null)
     {
         em.entity.BuildCommand(id, (Game.DVector3)point);
     }
     else
     {
         comsat.SendBuildCommand(em.entity.eid, id, (Game.DVector3)point);
     }
 }
Exemplo n.º 2
0
 public void AttackCommand(UnityInterwork.EntityMirror em, UnityInterwork.EntityMirror target)
 {
     if (comsat == null)
     {
         em.entity.AttackCommand(target.entity);
     }
     else
     {
         comsat.SendAttackCommand(em.entity.eid, target.entity.eid);
     }
 }
Exemplo n.º 3
0
 public void DeployCommand(UnityInterwork.EntityMirror em, Vector3 point)
 {
     if (comsat == null)
     {
         em.entity.DeployCommand((Game.DVector3)point);
     }
     else
     {
         comsat.SendDeployCommand(em.entity.eid, (Game.DVector3)point);
     }
 }
Exemplo n.º 4
0
 public void StopCommand(UnityInterwork.EntityMirror em)
 {
     if (comsat == null)
     {
         em.entity.StopCommand();
     }
     else
     {
         comsat.SendStopCommand(em.entity.eid);
     }
 }