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

Having these variables exposed can make for easier time building interactions.
Minor: Maybe keep getter convention - `foreground()`.