ConsoleGameEngine
1.1.0
jvm
ConsoleGameEngine
/
top.kmar.game.map
/
Point2D
Point2D
data
class
Point2D
(
val
x
:
Int
,
val
y
:
Int
)
:
Comparable
<
Point2D
>
用于表示一个二维坐标
Members
Constructors
Point2D
Link copied to clipboard
constructor
(
x
:
Int
,
y
:
Int
)
Functions
compare
To
Link copied to clipboard
open
operator override
fun
compareTo
(
other
:
Point2D
)
:
Int
Properties
x
Link copied to clipboard
val
x
:
Int
y
Link copied to clipboard
val
y
:
Int