Skip to content

Commit

Permalink
Remove commented lines
Browse files Browse the repository at this point in the history
  • Loading branch information
jodizzle committed Oct 21, 2015
1 parent f20bd91 commit 3b6b21c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions game.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import (
"fmt"
"github.com/nsf/termbox-go"
"time"
//"strconv"
)

// Represents a top-level Termloop application.
Expand Down Expand Up @@ -106,7 +105,6 @@ mainloop:
}

g.screen.Draw()
//g.Log(strconv.FormatFloat(update.Sub(time.Now()).Seconds()*1000.0, 'f', 2, 32))
time.Sleep(time.Duration((update.Sub(time.Now()).Seconds()*1000.0) + 1000.0/g.screen.fps)*time.Millisecond)
}
}
}

0 comments on commit 3b6b21c

Please sign in to comment.