//copies texture from player image to the renderer
copies texture from player image to the renderer
// copies texture from player image to the renderer
func playerDraw(p *player, renderer *sdl.Renderer) *sdl.Renderer {
	renderer.Copy(p.Tex,
		&sdl.Rect{0, 0, playerWidth, playerHeight},
		&sdl.Rect{int32(p.X), int32(p.Y), playerWidth, playerHeight})
	return renderer
}
func playerDraw ( p * player , renderer * sdl . Renderer ) * sdl . Renderer { renderer . Copy ( p . Tex , & sdl . Rect { 0 , 0 , playerWidth , playerHeight } , & sdl . Rect { int32 ( p . X ) , int32 ( p . Y ) , playerWidth , playerHeight } ) return renderer }
copies texture from player image to the renderer
copies texture from player image to the renderer