Ejemplo n.º 1
0
 //判定距离,玩家坐标,反馈位置矢量(生成道具所需要的数据)
 protected override bool MissJudge(double missDistance, double x, double y, ref Vector2D vct, ref Item itm)
 {
     if (missed)
     {
         vct.X  = missedPosition.X; vct.Y = missedPosition.Y;
         itm    = new MissPoint(texturemanager, x, y, missedPosition, 1200);
         missed = false;
         return(true);
     }
     return(false);
 }
Ejemplo n.º 2
0
 //判定距离,玩家坐标,反馈位置矢量(生成道具所需要的数据)
 protected override bool MissJudge(double missDistance, double x, double y, ref Vector2D vct, ref Item itm)
 {
     if (missed)
     {
         vct.X = missedPosition.X; vct.Y = missedPosition.Y;
         itm = new MissPoint(texturemanager, x, y, missedPosition, 1200);
         missed = false;
         return true;
     }
     return false;
 }