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