added setPlayer function, changed ctor call