Setting image flipX
Added LocalPlayer to make Player more generic