examples/hot_code_reloading: move the square faster

pull/1170/head
Alexander Medvednikov 2019-07-16 02:23:09 +02:00
parent eb7aee5ae0
commit 48d5650765
1 changed files with 2 additions and 21 deletions

View File

@ -27,8 +27,8 @@ fn main() {
height := 300
mut game := &Game{
vg: 0
dx: 1
dy: 1
dx: 2
dy: 2
height: height
width: width
}
@ -61,7 +61,6 @@ fn main() {
}
}
const (
W = 50
)
@ -88,21 +87,3 @@ fn (ctx mut Game) run() {
}
//sdfsd