Project1
标题:
问下...
[打印本页]
作者:
yangff
时间:
2008-11-22 17:28
标题:
问下...
他说module Graphics 没有update 方法 {/gg}
不叫update 叫什么???
module Graphics
#--------------------------------------------------------------------------
# ● 更新处理
#--------------------------------------------------------------------------
alias old_update update
def update
old_update
$cut_loop = false if $cut_loop == nil
if ($cut_loop)
$cc = []if $cc == nil
if Input.trigger?(Input::F5)
end_cut
end
$cc.push(Graphics.snap_to_bitmap)
else
if Input.trigger?(Input::F5)
begin_cut
end
end
end
def begin_cut
$cut_loop = true
$cc = []
end
def end_cut
$cut_loop = false
f = File.open(Lop + (Dir["Lop*.dvi"].size+1).to_s + ".dvi")
Marshal.dump(f)
$cc = []
end
end
[LINE]1,#dddddd[/LINE]
版务信息:本贴由楼主自主结贴~
作者:
沉影不器
时间:
2008-11-22 18:46
提示:
作者被禁止或删除 内容自动屏蔽
欢迎光临 Project1 (https://rpg.blue/)
Powered by Discuz! X3.1