Jass:OffsetLocation – Mappedia

Jass:OffsetLocation

Aus Mappedia
Wechseln zu: Navigation, Suche
Funktion: OffsetLocation
Parameter: location
real
real
Rückgabewert: location
Autor: Blizzard
Quelle: Blizzard.j
Synchron: Unbekannt



Code

function OffsetLocation takes location loc, real dx, real dy returns location
    return Location(GetLocationX(loc) + dx, GetLocationY(loc) + dy)
endfunction

Parameter

Typ Name Beschreibung
location loc
real dx
real dy
Meine Werkzeuge
Namensräume
Varianten
Aktionen
Navigation
Warcraft-Mapping
Werkzeuge