class Bench::GameScene
- Bench::GameScene
- Bench::Scene
- Reference
- Object
Defined in:
bench/game_scene.crConstant Summary
-
ObjsPerFrame =
15
-
QuitFPS =
30
Constructors
Instance Method Summary
- #add_objs
- #calc_fps
- #destroy
- #draw
- #fps : Bench::FPSDisplay
- #fps=(fps : Bench::FPSDisplay)
- #frames : Int32
- #frames=(frames : Int32)
- #init
- #init_map
- #map : Bench::Map
- #map=(map : Bench::Map)
- #objs : Array(Bench::BenchObj)
- #objs=(objs : Array(Bench::BenchObj))
- #print_exit
- #update(keys : Keys, mouse : Mouse)
Instance methods inherited from class Bench::Scene
destroy
destroy,
draw
draw,
exit=(exit : Bool)
exit=,
exit? : Bool
exit?,
init
init,
name : Symbol
name,
name=(name : Symbol)
name=,
reset
reset,
screen_height : Int32
screen_height,
screen_height=(screen_height : Int32)
screen_height=,
screen_width : Int32
screen_width,
screen_width=(screen_width : Int32)
screen_width=,
update(keys : Keys, mouse : Mouse)
update
Constructor methods inherited from class Bench::Scene
new(screen_width : Int32, screen_height : Int32)new new