Interface

Shumate-1.0ShumateLocationInterface

Interface for implementing Location. Contains only the virtual methods that need to be implemented.

interface Interface {
    vfunc_get_latitude(): number;
    vfunc_get_longitude(): number;
    vfunc_set_location(latitude: number, longitude: number): void;
}

Hierarchy (View Summary)

Index

Methods

  • Sets the coordinates of the location

    Parameters

    • latitude: number

      the latitude in degrees

    • longitude: number

      the longitude in degrees

    Returns void