diff options
author | Zach Latta <zach@zachlatta.com> | 2016-03-07 23:58:35 -0800 |
---|---|---|
committer | Zach Latta <zach@zachlatta.com> | 2016-03-07 23:58:35 -0800 |
commit | b517938af8266b579abceba9334fffd205f83100 (patch) | |
tree | 0c95c7978c1cb333785c59888e2cfde169be88d5 | |
parent | 097a4a03efb81e128c37304faf499ffa3b710279 (diff) | |
download | sshtron-b517938af8266b579abceba9334fffd205f83100.tar.gz |
Draw 15 times a second
-rw-r--r-- | game.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -665,7 +665,7 @@ func (g *Game) Run() { // // TODO: Implement diffing and only redraw when needed go func() { - c := time.Tick(time.Second / 10) + c := time.Tick(time.Second / 15) for range c { g.Redraw <- struct{}{} } |