WombatLocation
Wombat controlled Location object
Member Summary
Public Members | ||
public get |
|
|
public set |
|
|
public get |
|
|
public set |
|
|
public get |
|
|
public set |
|
|
public get |
|
|
public set |
|
|
public get |
|
|
public set |
|
|
public get |
|
|
public set |
|
|
public get |
|
|
public set |
|
|
public get |
|
|
public set |
|
|
public get |
|
|
public set |
|
Private Members | ||
private |
|
|
private |
|
|
private |
|
|
private |
|
|
private |
|
|
private |
|
|
private |
|
|
private |
|
|
private |
|
|
private |
|
|
private |
|
|
private |
|
|
private |
_wombatRef: WBWombat |
Method Summary
Public Methods | ||
public |
|
|
public |
orig_getter(prop: string): function | string Retrieve a property on the original Location object |
|
public |
orig_setter(prop: string, value: *) Set a property on the original Location object |
|
public |
reload(): * |
|
public |
|
|
public |
The toString method of the Location object |
Private Methods | ||
private |
define getters and setters for the locations properties |
|
private |
_rewrite_set_on_original(prop: string, value: *) set prop to value on the original location object |
|
private |
setup WombatLocation to appear to be just like the original Location |
Public Members
Private Members
private _wombatRef: WBWombat source
Public Methods
public orig_getter(prop: string): function | string source
Retrieve a property on the original Location object
Params:
Name | Type | Attribute | Description |
prop | string |
public orig_setter(prop: string, value: *) source
Set a property on the original Location object
Params:
Name | Type | Attribute | Description |
prop | string | the property to set |
|
value | * | the value of the property to set |
public toString(): string source
The toString method of the Location object
Example:
String(WombatLocation) === String(Location) // true