public final class IntPosition
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
(package private) int |
x |
(package private) int |
y |
Constructor and Description |
---|
IntPosition() |
IntPosition(int px,
int py) |
IntPosition(IntPosition p) |
Modifier and Type | Method and Description |
---|---|
int |
getX() |
int |
getY() |
void |
set(int px,
int py) |
void |
set(IntPosition p) |
void |
shift(int dx,
int dy) |
void |
subtract(IntPosition sm) |
public IntPosition()
public IntPosition(IntPosition p)
public IntPosition(int px, int py)
public void set(IntPosition p)
public void set(int px, int py)
public void shift(int dx, int dy)
public int getX()
public int getY()
public void subtract(IntPosition sm)
Copyright © 2013. All Rights Reserved.