Skip to content

Commit ef7afa8

Browse files
committed
暂时不想写Ruby,先放放
1 parent b9fe167 commit ef7afa8

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

Diff for: src/anims.rb

+6
Original file line numberDiff line numberDiff line change
@@ -47,5 +47,11 @@ def delta
4747
class AccelerateMove < MoveAnim
4848
def initialize(x, y)
4949
super()
50+
@x = x
51+
@y = y
52+
end
53+
54+
def delta
55+
#
5056
end
5157
end

Diff for: src/engine.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def initialize
3131
# p a
3232
# }
3333
# TkCanvas.methods.each { |a| p a }
34-
@refresh_per_second = 10
34+
@refresh_per_second = 100
3535
@objs = [ ]
3636
@texts = [ ]
3737
@timer_listeners = [ ]

Diff for: test/test2.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
class Shit < Game
44
def on_init
55
size 300, 300
6-
@ass_we_can = FTimer.new 1000
6+
@ass_we_can = FTimer.new 10
77
@boy_next_door = 10
88
end
99
def on_refresh

0 commit comments

Comments
 (0)