public static List <List <IntPoint> > GetDefBlowerPoly(BlowerService blower) { //return PolysHelper.GetShapeSquarePoly(blower.PositionXNACenter, (blower.Height + 50)/2); var res = AreaCompPolyHandler.GetBlowerPoly((BlowerService)blower, StaticData.BlowerEffectAreaRadius); List <IntPoint> polyCut = new List <IntPoint>() { new IntPoint(-1000, (int)blower.PositionXNA.Y + StaticData.BlowerEffectAreaRadius), new IntPoint(+1000, (int)blower.PositionXNA.Y + StaticData.BlowerEffectAreaRadius), new IntPoint(+1000, 1000), new IntPoint(-1000, 1000), }; return(EntraSolver.GetPolySolution(res, polyCut, ClipType.ctDifference)); }