diff options
author | curly <curlybryce@protonmail.com> | 2022-08-13 17:55:31 -0600 |
---|---|---|
committer | curly <curlybryce@protonmail.com> | 2022-08-13 17:55:31 -0600 |
commit | 008c2b23c78f8969c9741e537326c13b98c27b58 (patch) | |
tree | bfe5f362d3a45f57e5b234c00389962074856b0a /src/input.rs | |
parent | 1d1ca2fdae780efdb9d27394f5d3720fe9282c91 (diff) | |
download | tetris-008c2b23c78f8969c9741e537326c13b98c27b58.tar.gz tetris-008c2b23c78f8969c9741e537326c13b98c27b58.tar.bz2 tetris-008c2b23c78f8969c9741e537326c13b98c27b58.zip |
fixed my module mistakes
Diffstat (limited to 'src/input.rs')
-rw-r--r-- | src/input.rs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/input.rs b/src/input.rs index d4a5ddd..23d0040 100644 --- a/src/input.rs +++ b/src/input.rs @@ -1 +1,6 @@ -pub struct Input {}
\ No newline at end of file +pub struct Input {} +impl Input { + pub fn new() -> Input { + Input{} + } +}
\ No newline at end of file |