Documentation | Jabo Micro Game Engine
JUtil()
Last Updated: August 24, 2019 11:26
Usage
1
new
JUtil()
2
// Returns object JUtil()
Functions
JUtil.range(
min
,
max
)
- returns [
random number
]
JUtil.distance(
x1
,
y1
,
x2
,
y2
)
- returns [
distance between two points
]
JUtil.checkCollide(
GameObject
,
GameObject
)
- returns [
boolean
]