Code: |
super |
Code: |
#============================================================================== # ■ Heure(Base,Interface De Palbolsky) - Pierre-Louis # 26/12/10 #============================================================================== class Interface < Window_Base 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 self.contents.font.color = normal_color self.opacity = 30 @old_min=Time.now.min refresh end def update min=Time.now.min if @old_min != min refresh @old_min=min end end def refresh self.contents.clear self.contents.draw_text(0, 5, 70, 60, "#{$game_variables[101]} H #{$game_variables[102]}") end end |
Code: |
$var=Interface.new $var.update #mise a jour |
Citation: |
update Rafraichit le clignotement du curseur et l'animation graphique de pause. Selon la règle, cette méthode est appelée une fois par frame(image). |