Add interface to player class to avoid direct parameter access from out side class