//ArrayList<Light> lights
for
(
int
y
=
0
;
y
<
50
;
y
++
)
{
for
(
int
x
=
0
;
x
<
53
;
x
++
)
{
for
(
int
i
=
0
;
i
<
lights.
size
(
)
;
i
++
)
{
Shape
tmp
=
lights.
get
(
i
)
.
getHitbox
(
)
;
if
(
tmp.
contains
(
test
[
x
]
[
y
]
)
)
{
calculated_light_value
[
x
]
[
y
]
+=
0.33f
;
}
}
}
}