examples/pending/nario/src/power_up_block.rb
# the block can only be hit onces every HIT_RATE ms
the block can only be hit onces every HIT_RATE ms
the block can only be hit onces every HIT_RATE ms
def hit
    coin = spawn :coin, :x => x, :y => y-40
    coin.collect
    @active = false
    @inactive_timer = HIT_RATE if has_more?
  end
def hit coin = spawn :coin , :x => x , :y => y - 40 coin . collect @active = false @inactive_timer = HIT_RATE if has_more? end
the block can only be hit onces every HIT_RATE ms
the block can only be hit onces every HIT_RATE ms