toggle menu
korge-root
5.1.0
common
switch theme
search in API
korge-foundation
/
korlibs.datastructure.algo
/
RLEComparer
RLEComparer
class
RLEComparer
<
T
:
RLEComparer.Rle
>
(
val
rlePool
:
Pool
<
T
>
,
val
doDebug
:
Boolean
=
false
)
Members
Constructors
RLEComparer
Link copied to clipboard
constructor
(
rlePool
:
Pool
<
T
>
,
doDebug
:
Boolean
=
false
)
Types
Ops
Link copied to clipboard
interface
Ops
<
T
:
RLEComparer.Rle
>
Rle
Link copied to clipboard
open
class
Rle
(
var
left
:
Int
=
0
,
var
right
:
Int
=
0
)
Properties
do
Debug
Link copied to clipboard
val
doDebug
:
Boolean
=
false
rle
Pool
Link copied to clipboard
val
rlePool
:
Pool
<
T
>
Functions
compare
Link copied to clipboard
fun
compare
(
ops
:
RLEComparer.Ops
<
T
>
,
width
:
Int
,
height
:
Int
,
get
:
(
x
:
Int
,
y
:
Int
)
->
Boolean
)
debug
Link copied to clipboard
inline
fun
debug
(
message
:
(
)
->
String
)
intersections
Link copied to clipboard
fun
<
T
:
RLEComparer.Rle
>
T
.
intersections
(
that
:
List
<
T
>
)
:
List
<
T
>
intersects
With
Link copied to clipboard
fun
<
T
:
RLEComparer.Rle
>
T
.
intersectsWith
(
that
:
T
)
:
Boolean