|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectjp.ac.washi.quinte.api.CursorAction
public class CursorAction
プレイヤーがカーソルに出す命令を表します。
コンストラクタの概要 | |
---|---|
CursorAction(RotateType type,
int x,
int y)
指定された回転方向と(x, y)座標を持つカーソルアクションを構築します。 |
|
CursorAction(RotateType type,
Point location)
指定された回転方向とPointを持つカーソルアクションを構築します。 |
メソッドの概要 | |
---|---|
Point |
getLocation()
このカーソルアクションが示すPointを返します。 |
RotateType |
getType()
このカーソルアクションが示す回転方向を返します。 |
int |
getX()
このカーソルアクションが示すx座標を返します。 |
int |
getY()
このカーソルアクションが示すy座標を返します。 |
クラス java.lang.Object から継承されたメソッド |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
コンストラクタの詳細 |
---|
public CursorAction(RotateType type, int x, int y)
type
- 回転方向x
- 回転させる位置のx座標y
- 回転させる位置のy座標public CursorAction(RotateType type, Point location)
type
- 回転方向location
- 回転させる位置を示すPointメソッドの詳細 |
---|
public Point getLocation()
public RotateType getType()
public int getX()
public int getY()
|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |