Search
Preparing search index...
The search index is not available
gtools
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
gtools
models/data-structures/grid-accessor/grid2-accessor
Grid2Accessor
Class Grid2Accessor<T>
Type parameters
T
Hierarchy
Grid2Accessor
Index
Constructors
constructor
Properties
around4
Offsets
around8
Offsets
Methods
check
Every
From
Pos
And
Size
get
get
Accessor
get
Random
Around
get
Random
Block
Constructors
constructor
new
Grid2
Accessor<T>
(
holder
:
Grid2Holder
<
T
>
)
:
Grid2Accessor
<
T
>
Type parameters
T
Parameters
holder:
Grid2Holder
<
T
>
Returns
Grid2Accessor
<
T
>
Properties
Private
Readonly
around4
Offsets
around4
Offsets
:
{
x
:
number
;
y
:
number
}
[]
= ...
Private
Readonly
around8
Offsets
around8
Offsets
:
{
x
:
number
;
y
:
number
}
[]
= ...
Methods
check
Every
From
Pos
And
Size
check
Every
From
Pos
And
Size
(
position
:
SimpleVector2
, size
:
SimpleVector2
, condition
:
GridBlockItemFilter
<
T
>
)
:
boolean
Parameters
position:
SimpleVector2
size:
SimpleVector2
condition:
GridBlockItemFilter
<
T
>
Returns
boolean
get
get
(
position
:
SimpleVector2
)
:
undefined
|
T
Parameters
position:
SimpleVector2
Returns
undefined
|
T
get
Accessor
get
Accessor
(
position
:
SimpleVector2
)
:
Grid2BlockAccessor
<
T
>
Parameters
position:
SimpleVector2
Returns
Grid2BlockAccessor
<
T
>
get
Random
Around
get
Random
Around
(
position
:
SimpleVector2
, radius
:
number
, condition
:
Grid2BlockFilter
<
T
>
)
:
undefined
|
Grid2Block
<
T
>
Parameters
position:
SimpleVector2
radius:
number
condition:
Grid2BlockFilter
<
T
>
Returns
undefined
|
Grid2Block
<
T
>
get
Random
Block
get
Random
Block
(
filter
:
GridBlockItemFilter
<
T
>
)
:
undefined
|
Grid2Block
<
T
>
Parameters
filter:
GridBlockItemFilter
<
T
>
Returns
undefined
|
Grid2Block
<
T
>
Modules
models/data-
structures/grid-
accessor/grid2-
accessor
Grid2
Accessor
constructor
around4
Offsets
around8
Offsets
check
Every
From
Pos
And
Size
get
get
Accessor
get
Random
Around
get
Random
Block
Generated using
TypeDoc