Ejemplo n.º 1
0
 public List <EPropElevationId> RegisterPropGroup(List <Vector2> positions, Vector2 center)
 {
     Preconditions.Assert(MyRectangle.IsInside(_rectangle.RealSpaceRectangle, center), $"Prop group of center position {center} is not inside rectangle of node {_rectangle}");
     return(_leafSector.RegisterPropGroup(positions));
 }
Ejemplo n.º 2
0
 public EPropElevationId RegisterProp(Vector2 flatPosition)
 {
     Preconditions.Assert(MyRectangle.IsInside(_rectangle.RealSpaceRectangle, flatPosition), $"Prop of position {flatPosition} is not inside rectangle of node {_rectangle}");
     return(_leafSector.RegisterProp(flatPosition));
 }