import pygame

from sprites import Sprite, Animations, forever
from hitbox import AxisRectHB


class TeleportAI(Sprite):
    SPEED = 0
    def __init__(self, (x, y), (dx, dy)):
        super(TeleportAI, self).__init__(None, (x, y))
        self.hitbox = AxisRectHB(self, (0, 0), (50, 50))
        self.dx, self.dy = dx, dy

    def on_hit(self, other):
        print "beam me up scottie"
        return True

462071488559d3d7b4422a24a9bc95520261906d
import pygame

from sprites import Sprite, Animations, forever
from hitbox import AxisRectHB


class TeleportAI(Sprite):
    SPEED = 0
    def __init__(self, (x, y), (dx, dy)):
        super(TeleportAI, self).__init__(None, (x, y))
        self.hitbox = AxisRectHB(self, (0, 0), (50, 50))
        self.dx, self.dy = dx, dy

    def on_hit(self, other):
        print "beam me up scottie"
        return True
