In order to allow access to entity properties, add a reference to the parent entity to the component interface. See https://gameprogrammingpatterns.com/component.html