|
|||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||||
java.lang.Object
|
+--Model
|
+--Movable
移動可能なモデル要素を表す抽象クラス。
| コンストラクタの概要 | |
Movable()
|
|
| メソッドの概要 | |
protected java.lang.Object |
clone()
|
void |
move(java.awt.Graphics gr,
int mx,
int my)
ゲームの世界上とプレイ画面上で移動する。 |
(パッケージプライベート) abstract void |
move(int mx,
int my)
ゲームの世界上で移動する。 |
| クラス Model から継承したメソッド |
clear, draw |
| クラス java.lang.Object から継承したメソッド |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| コンストラクタの詳細 |
public Movable()
| メソッドの詳細 |
abstract void move(int mx,
int my)
mx - x方向の移動量my - y方向の移動量protected java.lang.Object clone()
Model 内の clone
public void move(java.awt.Graphics gr,
int mx,
int my)
gr - 描画対象mx - x方向の移動量my - y方向の移動量
|
|||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||||