............oh
Getty Ritter
5 years ago
1 changed file(s) with
1 addition(s)
and
1 deletion(s)
.
Collapse all
Expand all
+1
-1
src/com.rs
less
more
42
42
pub fn moved(&self, vel: &Velocity) -> Position {
43
43
Position {
44
44
x: self.x + vel.dx,
45
y: self.
x
+ vel.dy,
45
y: self.
y
+ vel.dy,
46
46
}
47
47
}
48
48
}