class GameSFTemplate::Player
- GameSFTemplate::Player
- Reference
- Object
Defined in:
game_sf_template/player.crConstant Summary
-
AnimationFPS =
8
-
Sheet =
"./assets/player.png"
-
Size =
128
-
Speed =
640
Constructors
Instance Method Summary
- #animations : GSF::Animations
- #draw(window : SF::RenderWindow)
- #move(dx, dy)
- #move_with_level(dx, dy)
- #move_with_speed(frame_time, dx, dy)
- #size
- #update(frame_time, keys : Keys)
- #update_movement(frame_time, keys : Keys)
- #x : Int32 | Float32
- #y : Int32 | Float32