Class: MockWorldProperty
Mock of the X-Ray engine logics world property.
Extends
Implements
world_property
Accessors
__name
Get Signature
ts
get __name(): string;Returns
string
Implementation of
ts
world_property.__nameInherited from
__name
Get Signature
ts
get static __name(): string;Returns
string
Inherited from
Constructors
Constructor
ts
new MockWorldProperty(condition: number, value: boolean): MockWorldProperty;Parameters
| Parameter | Type |
|---|---|
condition | number |
value | boolean |
Returns
MockWorldProperty
Overrides
Methods
condition()
ts
condition(): number;Returns
number
Condition identifier of current world property.
Implementation of
ts
world_property.conditionvalue()
ts
value(): boolean;Returns
boolean
Value of current world property.
Implementation of
ts
world_property.valuecreate()
ts
static create(condition: number, value: boolean): MockWorldProperty;Parameters
| Parameter | Type |
|---|---|
condition | number |
value | boolean |
Returns
MockWorldProperty
Overrides
mock()
ts
static mock(condition: number, value: boolean): world_property;Parameters
| Parameter | Type |
|---|---|
condition | number |
value | boolean |
Returns
world_property