class Shoot::Laser

Defined in:

shoot/laser.cr

Constant Summary

Damage = 10
Speed = 30

Constructors

Instance Method Summary

Constructor Detail

def self.new(x, y) #

[View source]

Instance Method Detail

def damage #

[View source]
def draw(window : SF::RenderWindow) #

[View source]
def global_bounds(*args, **options) #

[View source]
def global_bounds(*args, **options, &) #

[View source]
def remove=(remove : Bool | Nil) #

[View source]
def remove? : Bool? #

[View source]
def sprite : SF::Sprite #

[View source]
def sprite=(sprite : SF::Sprite) #

[View source]
def update(frame_time) #

[View source]