x and y should be public
This commit is contained in:
parent
c422060faf
commit
555a0ff6b8
@ -1,5 +1,5 @@
|
||||
/// The World is represented here.
|
||||
pub struct World {
|
||||
x: i32,
|
||||
y: i32,
|
||||
pub x: i32,
|
||||
pub y: i32,
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user