Sha256: 7142ac68c2cb4a98b1fbf26766f81a2d891c5275961fd28bda68bca45cf55aeb
Contents?: true
Size: 1.06 KB
Versions: 2
Compression:
Stored size: 1.06 KB
Contents
#============================================================================== # ** Window_Steps #------------------------------------------------------------------------------ # This window displays step count on the menu screen. #============================================================================== class Window_Steps < Window_Base #-------------------------------------------------------------------------- # * Object Initialization #-------------------------------------------------------------------------- def initialize super(0, 0, 160, 96) self.contents = Bitmap.new(width - 32, height - 32) refresh end #-------------------------------------------------------------------------- # * Refresh #-------------------------------------------------------------------------- def refresh self.contents.clear self.contents.font.color = system_color self.contents.draw_text(4, 0, 120, 32, "Step Count") self.contents.font.color = normal_color self.contents.draw_text(4, 32, 120, 32, $game_party.steps.to_s, 2) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rmxp_extractor-1.8 | Scripts/Window_Steps.rb |
rmxp_extractor-1.6 | Scripts/Window_Steps.rb |