refactoring shared player dimensions into a mixin