mirror of
https://github.com/cyberarm/cyberarm_engine.git
synced 2025-12-16 13:12:34 +00:00
Remove named arguments from stats struct due to mruby lacking support
This commit is contained in:
@@ -44,7 +44,7 @@ module CyberarmEngine
|
|||||||
|
|
||||||
attr_reader :frame_timing, :counters, :timings, :multitimings
|
attr_reader :frame_timing, :counters, :timings, :multitimings
|
||||||
def initialize
|
def initialize
|
||||||
@frame_timing = Timing.new(start_time: Gosu.milliseconds, end_time: -1, duration: -1)
|
@frame_timing = Timing.new(Gosu.milliseconds, -1, -1)
|
||||||
@attempted_multitiming = false
|
@attempted_multitiming = false
|
||||||
|
|
||||||
@counters = {
|
@counters = {
|
||||||
@@ -70,7 +70,7 @@ module CyberarmEngine
|
|||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
@timings[key] = Timing.new(start_time: Gosu.milliseconds, end_time: -1, duration: -1)
|
@timings[key] = Timing.new(Gosu.milliseconds, -1, -1)
|
||||||
end
|
end
|
||||||
|
|
||||||
def end_timing(key)
|
def end_timing(key)
|
||||||
|
|||||||
Reference in New Issue
Block a user