getCell

getCell

> Functions

Returns the cell where the entity with id entity is located. Use getCell() with no parameter to get your own cell.

Example: compute the distance between you and the enemy, and boost yourself if the enemy is close:

Parameters
Return
See also