[COLOr=White][B][COLOr=Wheat]library[/COLOr][/B] MapLimits [B][COLOr=Wheat]initializer[/COLOr][/B] [COLOr=Silver]init[/COLOr]
[B][COLOr=Wheat]globals[/COLOr][/B]
[B][COLOr=DarkSlateGray]real[/COLOr][/B] MaxX
[B][COLOr=DarkSlateGray]real[/COLOr][/B] MinX
[B][COLOr=DarkSlateGray]real[/COLOr][/B] MaxY
[B][COLOr=DarkSlateGray]real[/COLOr][/B] MinY
[B][COLOr=Wheat]endglobals[/COLOr][/B]
[B][COLOr=Wheat]private[/COLOr][/B] [B][COLOr=Wheat]function[/COLOr][/B] [COLOr=Silver]init[/COLOr] [COLOr=DimGray]takes[/COLOr] [B][COLOr=DarkSlateGray]nothing[/COLOr][/B] [B][COLOr=Wheat]returns[/COLOr][/B] [B][COLOr=DarkSlateGray]nothing[/COLOr][/B]
[COLOr=DimGray]set[/COLOr] MaxX [B][COLOr=SlateGray]=[/COLOr][/B] [COLOr=LightBlue]GetRectMaxX[/COLOr][B][COLOr=SlateGray]([/COLOr][/B]bj_mapInitialPlayableArea[B][COLOr=SlateGray])[/COLOr][/B][B][COLOr=SlateGray]-[/COLOr][/B][COLOr=Cyan]50[/COLOr]
[COLOr=DimGray]set[/COLOr] MinX [B][COLOr=SlateGray]=[/COLOr][/B] [COLOr=LightBlue]GetRectMinX[/COLOr][B][COLOr=SlateGray]([/COLOr][/B]bj_mapInitialPlayableArea[B][COLOr=SlateGray])[/COLOr][/B][B][COLOr=SlateGray]+[/COLOr][/B][COLOr=Cyan]50[/COLOr]
[COLOr=DimGray]set[/COLOr] MaxY [B][COLOr=SlateGray]=[/COLOr][/B] [COLOr=LightBlue]GetRectMaxY[/COLOr][B][COLOr=SlateGray]([/COLOr][/B]bj_mapInitialPlayableArea[B][COLOr=SlateGray])[/COLOr][/B][B][COLOr=SlateGray]-[/COLOr][/B][COLOr=Cyan]50[/COLOr]
[COLOr=DimGray]set[/COLOr] MinY [B][COLOr=SlateGray]=[/COLOr][/B] [COLOr=LightBlue]GetRectMinY[/COLOr][B][COLOr=SlateGray]([/COLOr][/B]bj_mapInitialPlayableArea[B][COLOr=SlateGray])[/COLOr][/B][B][COLOr=SlateGray]+[/COLOr][/B][COLOr=Cyan]50[/COLOr]
[B][COLOr=Wheat]endfunction[/COLOr][/B]
[B][COLOr=Wheat]endlibrary[/COLOr][/B][/COLOr]