Join Slack
Powered by
```fun moveX(unit: Int) = Position(x+unit, y)``` s...
# getting-started
e
edwardwongtl
10/04/2017, 5:00 AM
Copy code
fun moveX(unit: Int) = Position(x+unit, y)
since move right is just move left with a negative
x
value
Open in Slack
Previous
Next