Constructor and Description |
---|
Position(int x,
int y) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
int |
getX() |
int |
getY() |
int |
hashCode()
Overrides the hashCode function in order to allow position mapping.
|
void |
setX(int x) |
void |
setY(int y) |
Position |
translated(int dx,
int dy,
int max) |
public int hashCode()
public Position translated(int dx, int dy, int max)
Copyright © 2017 smarTen. All rights reserved.