Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/campoy/flappy-gopher
/ functions
Functions
27 in github.com/campoy/flappy-gopher
⨍
Functions
27
◇
Types & classes
4
↓ 2 callers
Function
drawTitle
(r *sdl.Renderer, text string)
main.go:76
↓ 1 callers
Method
destroy
()
bird.go:88
↓ 1 callers
Method
handleEvent
(event sdl.Event)
scene.go:81
↓ 1 callers
Method
isDead
()
bird.go:97
↓ 1 callers
Method
jump
()
bird.go:103
↓ 1 callers
Function
newBird
(r *sdl.Renderer)
bird.go:41
↓ 1 callers
Function
newPipe
()
pipes.go:117
↓ 1 callers
Function
newPipes
(r *sdl.Renderer)
pipes.go:35
↓ 1 callers
Function
newScene
(r *sdl.Renderer)
scene.go:31
↓ 1 callers
Method
paint
(r *sdl.Renderer)
scene.go:105
↓ 1 callers
Method
paint
(r *sdl.Renderer, texture *sdl.Texture)
pipes.go:132
↓ 1 callers
Method
restart
()
scene.go:100
↓ 1 callers
Function
run
()
main.go:33
↓ 1 callers
Method
run
(events <-chan sdl.Event, r *sdl.Renderer)
scene.go:50
↓ 1 callers
Method
touch
(b *bird)
pipes.go:126
↓ 1 callers
Method
touch
(p *pipe)
bird.go:110
↓ 1 callers
Method
update
()
scene.go:94
Method
destroy
()
scene.go:120
Method
destroy
()
pipes.go:101
Function
main
()
main.go:26
Method
paint
(r *sdl.Renderer)
pipes.go:58
Method
paint
(r *sdl.Renderer)
bird.go:66
Method
restart
()
pipes.go:78
Method
restart
()
bird.go:79
Method
touch
(b *bird)
pipes.go:70
Method
update
()
pipes.go:85
Method
update
()
bird.go:54