x and y should be public

This commit is contained in:
Martin HART 2020-10-28 12:20:20 +01:00
parent c422060faf
commit 555a0ff6b8
1 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
/// The World is represented here. /// The World is represented here.
pub struct World { pub struct World {
x: i32, pub x: i32,
y: i32, pub y: i32,
} }