Skip to content
Snippets Groups Projects
Commit 9774d0e7 authored by EckBalu's avatar EckBalu
Browse files

Position done

parent 49cf757b
No related branches found
No related tags found
1 merge request!1Javaimpl
package cell
public class Position(x: Int, y: Int) {
x: Int = x
y: Int = y
private val x: Int = x
private val y: Int = y
public setPosition(x: Int, y: Int) {
public fun setPosition(x: Int, y: Int) {
this.x = x
this.y = y
}
public fun getX() : Int { return this.x }
public fun getY() : Int { return this.y }
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment