class Scheduler
- Scheduler
- Reference
- Object
Defined in:
crab/common/scheduler.crInstance Method Summary
- #<<(event : Event) : Nil
- #call_current : Nil
- #clear(type : EventType) : Nil
- #cycles : UInt64
- #events : Deque(Event)
- #fast_forward : Nil
- #schedule(cycles : Int, proc : Proc(Nil), type : EventType) : Nil
- #schedule_gb(cycles : Int, proc : Proc(Nil), type : EventType) : Nil
-
#speed_mode=(speed : UInt8) : Nil
Set the CGB current speed to 1x (0) or 2x (1)
- #tick(cycles : Int) : Nil