class Phase::Cannon
- Phase::Cannon
- Reference
- Object
Defined in:
phase/cannon.crConstant Summary
-
SpriteFile =
"./assets/cannon.png"
-
SpriteHeight =
32
-
SpriteWidth =
80
Constructors
Instance Method Summary
- #draw(window : SF::RenderWindow)
- #move(x, y)
- #rotation : Float64
- #sprite : SF::Sprite
- #update(frame_time, x, y, rotation : Float64)
- #update_movement(rotation : Float64)