Auteur: Yukihiro matsumoto
#============================================
# ‘ Window_Steps
#----------------------------------------------
# @j
[ζΚΕΰπ¦·ιEBhEΕ·B
#============================================
class Window_Steps < Window_Base
#------------------------------------------
# IuWFNgϊ»
#------------------------------------------
def initialize
super(0, 0, 160, 96)
self.contents = Bitmap.new(width - 32, height - 32)
self.contents.font.name = $fontface
self.contents.font.size = $fontsize
refresh
end
#------------------------------------------
# tbV
#------------------------------------------
def refresh
self.contents.clear
self.contents.font.color = system_color
self.contents.draw_text(4, 0, 120, 32, "Nombre de pas :")
self.contents.font.color = normal_color
self.contents.draw_text(4, 32, 120, 32, $game_party.steps.to_s, 2)
end
end |
|