public override void exec(Dictionary <string, string> par)
 {
     StardewWrap.SDirection para;
     if (par.ContainsKey(Paramter.Direction1.ToString()))
     {
         Enum.TryParse <StardewWrap.SDirection>(par[Paramter.Direction1.ToString()], out m_direction1);
     }
     else
     {
         m_direction1 = StardewWrap.SDirection.UP;
     }
     if (par.ContainsKey(Paramter.Direction2.ToString()))
     {
         m_hasSecond  = Enum.TryParse <StardewWrap.SDirection>(par[Paramter.Direction2.ToString()], out para);
         m_direction2 = para;
     }
     else
     {
         m_hasSecond = false;
     }
     if (m_direction1 == StardewWrap.SDirection.RIGHT || m_direction1 == StardewWrap.SDirection.LEFT)
     {
         m_faceDirection = m_direction1;
     }
     else if (m_hasSecond && (m_direction2 == StardewWrap.SDirection.RIGHT || m_direction2 == StardewWrap.SDirection.LEFT))
     {
         m_faceDirection = m_direction2;
     }
     else
     {
         m_faceDirection = m_direction1;
     }
     StardewWrap.setMove(m_faceDirection, true);
     isFinish = false;
 }
 public override void end()
 {
     StardewWrap.setMove(m_faceDirection, false);
     base.end();
 }