A B C D F G I J M N O P R S T U W
A
- actionList -
class Common の static 変数
- 場所ごとの行動リスト
- angle -
class Common の static 変数
- 角度 0 -> 359
- animation -
class GamePanel の変数
- このゲームのスレッド Common.SLEEP_SECで間隔を指定
- applet -
class Common の static 変数
- 親アプレット
- APPLET_H -
class Common の static 変数
- アプレットの高さ
- APPLET_W -
class Common の static 変数
- アプレットの幅
- arcH -
class BalloonText の変数
- RowndRectの丸み
- arcW -
class BalloonText の変数
- RowndRectの丸み
B
- backColor -
class BalloonText の変数
- 背景の色
- BalloonText - class BalloonText.
- 人物のインフォメーションを表示する枠つきテキスト
- BalloonText(People) -
class BalloonText のコンストラクタ
- コンストラクター
- bgImage -
class GamePanel の変数
- 背景
C
- circleR -
class MapPlace の変数
- 人口を表す円の半径
- Common - class Common.
- 共有データの管理クラス
クラス間で共有する変数、定数は、ここで宣言すること
また、生成せず使うので、全部static宣言すること
- Common() -
class Common のコンストラクタ
-
- CounterIncrement() -
class Common の static メソッド
- カウンターを進める
- cx -
class MapPlace の変数
- 人口を表す円のX座標
- cy -
class MapPlace の変数
- 人口を表す円のY座標
D
- destroy() -
class type1 のメソッド
- アプレットの破棄
- dispX -
class People の変数
- 表示座標
- dispY -
class People の変数
- 表示座標
- doNext() -
class People のメソッド
- 時間が1コマ進む
- DrawActionText - class DrawActionText.
- 文字列描画関数を集めたクラス
生成せず使うので、全部static宣言すること
- DrawActionText() -
class DrawActionText のコンストラクタ
-
- DrawCircle(Graphics) -
class MapPlace のメソッド
- そのマップにいる人数に応じた円を描く
- drawMessage(Graphics) -
class BalloonText のメソッド
- 枠つきテキストを表示
- drawName(Graphics) -
class People のメソッド
- 名前の描画&表示位置更新
表示位置更新のため非表示のときでも呼び出す必要あり
- DrawPlace(Graphics) -
class MapPlace のメソッド
- 場所の名前を表示
F
- Float(Graphics, String, int, int, int) -
class DrawActionText の static メソッド
- ふわふわ浮かぶ文字
- floatHeight -
class BalloonText の変数
- ふわふわする幅の1/2
- frameColor -
class BalloonText の変数
- 枠の色
G
- GamePanel - class GamePanel.
- ゲーム処理の本体
- GamePanel() -
class GamePanel のコンストラクタ
- コンストラクター
- getSinCounter() -
class Common の static メソッド
- アニメーション用のサイン値を返す ずらし機能なし
- getSinCounter(int) -
class Common の static メソッド
- アニメーション用のサイン値を返す
全部が同じ動きをするのを防ぐため、オフセットでずらす機能付。
I
- id -
class MapPlace の変数
- 場所番号
- id -
class People の変数
- 人物番号
- infoBalloon -
class People の変数
- 行動内容を表示するバルーン
- infoIcon -
class People の static 変数
- 名前の前のカラーマーク とりあえず8色固定
- init() -
class GamePanel のメソッド
- ゲームデータの初期化
- init() -
class type1 のメソッド
- アプレット初期化
- isAction -
class People の変数
- 行動しているかどうか 移動中はfalse
J
- Jump(Graphics, String, int, int) -
class DrawActionText の static メソッド
- 飛び跳ねる文字
M
- mainPanel -
class type1 の変数
- ゲームのメインパネル
- MAP_FONTSIZE -
class GamePanel の static 変数
- 地名のフォントサイズ
- mapFont -
class GamePanel の static 変数
- 地名表示フォント
- MapPlace - class MapPlace.
- 場所のデータ管理・描画クラス
- MapPlace(int, String, int, int, FontMetrics) -
class MapPlace のコンストラクタ
- コンストラクター
- mapPlaces -
class GamePanel の変数
- 場所の配列 MapPlace.java
- markImage -
class MapPlace の static 変数
- 現在地カーソルのイメージ
- mouseClicked(MouseEvent) -
class GamePanel のメソッド
- マウスがクリックされたとき
- mouseDragged(MouseEvent) -
class GamePanel のメソッド
- マウスがドラッグされたとき 処理不要
- mouseEntered(MouseEvent) -
class GamePanel のメソッド
- マウスが入ってきたとき 処理不要
- mouseExited(MouseEvent) -
class GamePanel のメソッド
- マウスが出ていったとき
素早くマウスを動かしたときに、onCursorの情報が残ったままになるので対処
- mouseMoved(MouseEvent) -
class GamePanel のメソッド
- マウスが動いたとき 地名の上にカーソルがあるかどうか判定
- mousePressed(MouseEvent) -
class GamePanel のメソッド
- マウスボタンが押されたとき 処理不要
- mouseReleased(MouseEvent) -
class GamePanel のメソッド
- マウスボタンが離されたとき 処理不要
N
- name -
class MapPlace の変数
- 場所の名前
- name -
class People の変数
- 名前
- NAME_MOVE_SPEED -
class Common の static 変数
- マップに入った人物が1スレッドに動くドット数
- nowPlace -
class Common の static 変数
- 現在地。
- nowX -
class People の変数
- 現在の座標
- nowY -
class People の変数
- 現在の座標
O
- offGraphics -
class GamePanel の変数
- ダブルバッファ用グラフィック
- offScreen -
class GamePanel の変数
- ダブルバッファ用スクリーン
- offScreenSize -
class GamePanel の変数
- ダブルバッファ用スクリーンサイズ
- offsetAngle -
class BalloonText の変数
- 動きにばらつきを持たせるため、ランダムな角度を保持
- onCursor -
class MapPlace の変数
- マウスカーソルが範囲内にあるか
P
- people -
class BalloonText の変数
- このバルーンの所有者
- People - class People.
- 人物のデータ管理・行動制御クラス
- PEOPLE_MAX -
class Common の static 変数
- 人々の数
- PEOPLE_START_X -
class Common の static 変数
- マップに入った人物を描きはじめるX座標
- PEOPLE_START_Y -
class Common の static 変数
- マップに入った人物を描きはじめるX座標
- PEOPLE_STOP_X -
class Common の static 変数
- マップに入った人物が止まるX座標
- People(String, int) -
class People のコンストラクタ
- コンストラクター
- peopleName -
class Common の static 変数
- 人々の名前
- peopleNameFont -
class GamePanel の static 変数
- 人名表示フォント
- peopleNum -
class MapPlace の変数
- そこにいる人数
- peoples -
class GamePanel の変数
- 登場人物の配列 People.java
- place -
class People の変数
- 現在地
- PLACE_MAX -
class Common の static 変数
- 地点の数
- placeName -
class Common の static 変数
- 場所の名前
- placeOrder -
class People の変数
- 現在地での表示順序
- placePos -
class GamePanel の static 変数
- 地名表示座標
R
- rect -
class MapPlace の変数
- クリックに反応する範囲
- renewWorld() -
class GamePanel のメソッド
- 時間を進めてこの世界を更新 & 各種情報の再計算
- run() -
class GamePanel のメソッド
- スレッド実行(世界の更新と再描画)
S
- setText(String) -
class BalloonText のメソッド
- 文字列をセット
- shadowColor -
class BalloonText の変数
- 影の色
- SININC -
class Common の static 変数
- sinCounterの速さ 増やす角度を指定
- SLEEP_SEC -
class Common の static 変数
- スレッドのスリープ時間 msec
- start() -
class GamePanel のメソッド
- スレッド開始
- start() -
class type1 のメソッド
- アプレットの開始
- Still(Graphics, String, int, int) -
class DrawActionText の static メソッド
- 文字列をそのまま表示
- stop() -
class GamePanel のメソッド
- スレッド停止
- stop() -
class type1 のメソッド
- アプレットの停止
T
- text -
class BalloonText の変数
- 表示するメッセージ
- textColor -
class BalloonText の変数
- 文字の色
- tx -
class MapPlace の変数
- 地名の表示のX座標
- ty -
class MapPlace の変数
- 地名の表示のY座標
- type1 - class type1.
- アプレットのメインクラス
width=600 height=400 で呼ばれることが必要
ゲーム本体は、GamePanel.javaの中
- type1() -
class type1 のコンストラクタ
-
U
- update(Graphics) -
class GamePanel のメソッド
- 画面の再描画
W
- wait -
class People の変数
- 行動待機時間
A B C D F G I J M N O P R S T U W