add coverage/build test
This commit is contained in:
parent
18ffd04b2a
commit
9d3608bac1
10 changed files with 236 additions and 15 deletions
|
@ -8,6 +8,8 @@ import (
|
|||
rl "github.com/gen2brain/raylib-go/raylib"
|
||||
)
|
||||
|
||||
var exit_key = false
|
||||
|
||||
func main() {
|
||||
screenWidth := int32(800)
|
||||
screenHeight := int32(450)
|
||||
|
@ -38,7 +40,7 @@ func main() {
|
|||
|
||||
rl.SetTargetFPS(60)
|
||||
|
||||
for !rl.WindowShouldClose() {
|
||||
for !(rl.WindowShouldClose() || exit_key) {
|
||||
if buttonClicked {
|
||||
progressValue += 0.1
|
||||
if progressValue >= 1.1 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue