Jass:GetRectFromCircleBJ
Aus Mappedia
| Funktion: GetRectFromCircleBJ | |
|---|---|
| Parameter: | location real |
| Rückgabewert: | rect |
| Autor: | Blizzard |
| Quelle: | Blizzard.j |
| Synchron: | Unbekannt |
Code
function GetRectFromCircleBJ takes location center, real radius returns rect local real centerX = GetLocationX(center) local real centerY = GetLocationY(center) return Rect(centerX - radius, centerY - radius, centerX + radius, centerY + radius) endfunction
Parameter
| Typ | Name | Beschreibung |
|---|---|---|
| location | center | |
| real | radius |
