public void Update(EntityKey owner, IUserCmd cmd, Contexts contexts)
 {
     leftCmd.SetCmd(cmd);
     rightCmd.SetCmd(cmd);
     _leftWeaponFire.OnUpdate(owner, leftCmd, contexts);
     _rightWeaponFire.OnUpdate(owner, rightCmd, contexts);
 }
Ejemplo n.º 2
0
 public void Update(EntityKey owner, IUserCmd cmd, Contexts contexts)
 {
     _cmd.SetCmd(cmd);
     if (null != fireController)
     {
         fireController.OnUpdate(owner, _cmd, contexts);
     }
 }