Enemy.get_identity#

Enemy.get_identity() tuple[int | None, int, int]#

Return a tuple that identifies the grid object and its state in the enviroment.

Returns:

A tuple consisting of identifier, color and state.

Return type:

tuple[int | None, int, int]