//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{X: 0, Y: 0, W: playerWidth, H: playerHeight},
		&sdl.Rect{X: int32(p.X), Y: int32(p.Y), W: playerWidth, H: playerHeight})
	return renderer
}
func playerDraw ( p * Player , renderer * sdl . Renderer ) * sdl . Renderer { renderer . Copy ( p . Tex , & sdl . Rect { X : 0 , Y : 0 , W : playerWidth , H : playerHeight } , & sdl . Rect { X : int32 ( p . X ) , Y : int32 ( p . Y ) , W : playerWidth , H : playerHeight } ) return renderer }
copies texture from player image to the renderer
copies texture from player image to the renderer