class JamWarmUp::Player
- JamWarmUp::Player
- JamWarmUp::Ship
- Reference
- Object
Defined in:
jam_warm_up/player.crConstant Summary
-
FireDuration =
125.milliseconds
-
Speed =
640
-
SpriteFile =
"./assets/player.png"
Constructors
Instance Method Summary
- #bullets : Array(Bullet)
- #draw(window : SF::RenderWindow)
- #fire_bullet
- #fire_timer : Timer
- #move_with_level(dx, dy)
- #move_with_speed(frame_time, dx, dy)
- #remove_dead_bullets
- #update(frame_time, keys : Keys)
- #update_firing(keys)
- #update_movement(frame_time, keys : Keys)