|
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||
java.lang.Objectsystem.Item
public class Item
アイテムのクラス
| メソッドの概要 | |
|---|---|
ItemType |
getItemType()
アイテムの種類を返します |
Point |
getPoint()
アイテムの座標をPoint型で返します |
int |
getX()
そのアイテムのx座標を返します |
int |
getY()
そのアイテムのy座標を返します |
boolean |
isAt(int x,
int y)
指定した座標にそのアイテムがあるかどうかを返します |
boolean |
isAt(Point point)
|
| クラス java.lang.Object から継承されたメソッド |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| メソッドの詳細 |
|---|
public ItemType getItemType()
public int getX()
public int getY()
public Point getPoint()
public boolean isAt(int x,
int y)
x - y -
public boolean isAt(Point point)
|
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||