I'm looking for a way to pass the variable 'pos' to the constructor of the class 'Entity' from its derived class 'Paddle'. I know that in this case I can simply create the variable where I pass it, but I'd like to know if there's a solution for cases in which I need to pass the variable through few operations before passing it to the constructor of the base class.
Thanks keskiverto, I guess that solves it. I hoped that there would be a way to do that inside the constructor itself. But it's a perfectly working solution nonetheless.