Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
phase
v0.8.0
Phase
Arc
Asteroid
Beam
Box
Calc
Cannon
Circle
Enemy
EnemyCarrier
EnemyGroup
EnemyKamikaze
EnemyShip
EnemyStatic
Font
Game
HealthObj
HUD
Joysticks
Keys
Laser
Mouse
Pulse
Scene
Main
Start
Screen
Ship
ThrusterAnimationsTuple
Stage
StarBase
SuperWeapon
Timer
Built with Crystal 1.9.2
2023-10-08 13:50:48 UTC
abstract class
Phase::SuperWeapon
Phase::SuperWeapon
Reference
Object
Direct Known Subclasses
Phase::Beam
Phase::Pulse
Defined in:
phase/super_weapon.cr
Constructors
.new
(name : String =
""
)
Instance Method Summary
#draw
(window : SF::RenderWindow)
#firing?
: Bool
#hit?
(circle : Circle) : Bool
#name
: String
Constructor Detail
def self.
new
(name : String =
""
)
#
[
View source
]
Instance Method Detail
abstract def
draw
(window : SF::RenderWindow)
#
[
View source
]
def
firing?
: Bool
#
[
View source
]
abstract def
hit?
(circle :
Circle
) : Bool
#
[
View source
]
def
name
: String
#
[
View source
]