getIndex

int getIndex()

Gets the index of the entity.