aboutsummaryrefslogtreecommitdiff
path: root/src/input.rs
diff options
context:
space:
mode:
authorcurly <curlybryce@protonmail.com>2022-08-13 17:55:31 -0600
committercurly <curlybryce@protonmail.com>2022-08-13 17:55:31 -0600
commit008c2b23c78f8969c9741e537326c13b98c27b58 (patch)
treebfe5f362d3a45f57e5b234c00389962074856b0a /src/input.rs
parent1d1ca2fdae780efdb9d27394f5d3720fe9282c91 (diff)
downloadtetris-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.rs7
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