[AbstractComponent] - Adding getters for foreground/background/hitBox

Having these variables exposed can make for easier time building interactions.