def activate(self, velocity, pos):
    self.startTime = globalClock.getRealTime()
    self.explosionCard.setShaderInput('startTime', self.startTime)
    self.velocity = velocity
    self.explosionCard.reparentTo(Common.framework.showBase.render)
    self.explosionCard.setPos(pos)
def activate(self, velocity, pos):
    self.startTime = globalClock.getRealTime()
    self.explosionCard.setShaderInput('startTime', self.startTime)
    self.velocity = velocity
    self.explosionCard.reparentTo(Common.framework.showBase.render)
    self.explosionCard.setPos(pos)