41 lines
1.9 KiB
Ruby
41 lines
1.9 KiB
Ruby
#==============================================================================
|
||
# ■ Window_Base
|
||
#------------------------------------------------------------------------------
|
||
# ゲーム中の全てのウィンドウのスーパークラスです。
|
||
# RGSS3メニュー画面ステータスTP表示
|
||
#==============================================================================
|
||
|
||
class Window_Base < Window
|
||
#--------------------------------------------------------------------------
|
||
# ● シンプルなステータスの描画
|
||
#--------------------------------------------------------------------------
|
||
def draw_actor_simple_status(actor, x, y)
|
||
draw_actor_name(actor, x, y)
|
||
draw_actor_level(actor, x - 10, y + line_height * 1)
|
||
draw_actor_icons(actor, x, y + line_height * 2)
|
||
draw_actor_class(actor, x + 120, y)
|
||
draw_actor_hp(actor, x + 120, y + line_height * 0.8)
|
||
draw_actor_mp(actor, x + 120, y + line_height * 1.6)
|
||
draw_actor_tp(actor, x + 120, y + line_height * 2.4)
|
||
end
|
||
end
|
||
|
||
#==============================================================================
|
||
# ■ Window_Status
|
||
#------------------------------------------------------------------------------
|
||
# ステータス画面で表示する、フル仕様のステータスウィンドウです。
|
||
# RGSS3ステータス画面TP表示
|
||
#==============================================================================
|
||
|
||
class Window_Status < Window_Selectable
|
||
#--------------------------------------------------------------------------
|
||
# ● 基本情報の描画
|
||
#--------------------------------------------------------------------------
|
||
def draw_basic_info(x, y)
|
||
draw_actor_level(@actor, x, y + line_height * 0 - 6)
|
||
draw_actor_icons(@actor, x, y + line_height * 1 - 4)
|
||
draw_actor_hp(@actor, x, y + line_height * 1.8 )
|
||
draw_actor_mp(@actor, x, y + line_height * 2.6 )
|
||
draw_actor_tp(@actor, x, y + line_height * 3.4 )
|
||
end
|
||
end
|