Added comment for getY in entity.