Advertisement
Guest User

Untitled

a guest
Sep 26th, 2017
48
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Ruby 0.24 KB | None | 0 0
  1. class Window_Base < Window
  2.   SFONT_ON = true
  3.   alias initialize_rhyme initialize
  4.   def initialize(x, y, width, height)
  5.     initialize_rhyme(x, y, width, height)
  6.     self.contents.sfont = SFont.new("filename of sfont") if SFONT_ON
  7.   end
  8. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement