1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

examples/hot_code_reloading: move the square faster

This commit is contained in:
Alexander Medvednikov 2019-07-16 02:23:09 +02:00
parent eb7aee5ae0
commit 48d5650765

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