def refresh
self.contents.clear
if $w == 1
text = "文字1"
self.contents.font.color = Color.new(255, 0, 0, 255) #Red
self.contents.draw_text(4, 0, 406, 32, text)
end
if $w == 2
text = "文字2"
self.contents.font.color = Color.new(255, 0, 0, 255) #Red
self.contents.draw_text(4, 0, 406, 32, text)
end
end
end
欢迎光临 Project1 (https://rpg.blue/) | Powered by Discuz! X3.1 |