22 package com.realtime.crossfire.jxclient.map;
24 import org.jetbrains.annotations.NotNull;
25 import org.jetbrains.annotations.Nullable;
54 public Location(
final int x,
final int y,
final int layer) {
88 public boolean equals(@Nullable
final Object obj) {
92 if (obj.getClass() !=
Location.class) {
104 return x^y*0x1000^layer*0x1000000;
113 return x+
"/"+y+
"/"+
layer;
final int y
The y-coordinate.
int getY()
Returns the y-coordinate.
final int layer
The layer.
final int x
The x-coordinate.
Location(final int x, final int y, final int layer)
Creates a new location.
boolean equals(@Nullable final Object obj)
int getLayer()
Returns the layer.
int getX()
Returns the x-coordinate.