示例#1
0
 public Vector3 GetPosition(PlayingField pf)
 {
     var d = Direction.DirectionAsPoint();
     return new Vector3(
         Location.X + d.X * Fraction,
         pf.GetElevation(this),
         Location.Y + d.Y * Fraction);
 }