We doing global variables now
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
const sdl = @import("sdl");
|
||||
const key_store = @import("data/keystore.zig");
|
||||
|
||||
buttons: key_store.KeyStore(@TypeOf(sdl.BUTTON_LEFT), 4, 0),
|
||||
buttons: key_store.KeyStore(@TypeOf(sdl.BUTTON_LEFT), 4, 0) = .{},
|
||||
|
||||
x: f32,
|
||||
y: f32,
|
||||
dx: f32,
|
||||
dy: f32,
|
||||
x: f32 = 0,
|
||||
y: f32 = 0,
|
||||
dx: f32 = 0,
|
||||
dy: f32 = 0,
|
||||
|
Reference in New Issue
Block a user