Classes

developer »

gameProject »

pedestrianController »

playerPlatform »

punishment »

team »

Concepts

Libraries

Objects

worldToGrid

Description

Converts world X/Y coordinates to a grid coordinates.

Arguments

1 number x

the X coordinate.

2 number y

the Y coordinate.

Returns

1 number

x-the tile X coordinate.

2 number

y-the tile Y coordinate.