from utils import Point
MESSAGE_WAIT = 'wait'
MESSAGE_COME = 'come'


class Message(object):
    type = None

    def __init__(self, source):
        self.source = source


class ComeMessage(Message):
    type = MESSAGE_COME

    def __init__(self, source, x, y):
        super(ComeMessage, self).__init__(source)
        self.x = x
        self.y = y

    @property
    def point(self):
        return Point(self.x, self.y)


class WaitMessage(Message):
    type = MESSAGE_WAIT

1df510dff127207a296e9ac0586e257f3caf73cc
<mask token>


class ComeMessage(Message):
    type = MESSAGE_COME

    def __init__(self, source, x, y):
        super(ComeMessage, self).__init__(source)
        self.x = x
        self.y = y

    @property
    def point(self):
        return Point(self.x, self.y)


class WaitMessage(Message):
    type = MESSAGE_WAIT

<mask token>


class Message(object):
    type = None

    def __init__(self, source):
        self.source = source


class ComeMessage(Message):
    type = MESSAGE_COME

    def __init__(self, source, x, y):
        super(ComeMessage, self).__init__(source)
        self.x = x
        self.y = y

    @property
    def point(self):
        return Point(self.x, self.y)


class WaitMessage(Message):
    type = MESSAGE_WAIT

<mask token>
MESSAGE_WAIT = 'wait'
MESSAGE_COME = 'come'


class Message(object):
    type = None

    def __init__(self, source):
        self.source = source


class ComeMessage(Message):
    type = MESSAGE_COME

    def __init__(self, source, x, y):
        super(ComeMessage, self).__init__(source)
        self.x = x
        self.y = y

    @property
    def point(self):
        return Point(self.x, self.y)


class WaitMessage(Message):
    type = MESSAGE_WAIT

from utils import Point
MESSAGE_WAIT = 'wait'
MESSAGE_COME = 'come'


class Message(object):
    type = None

    def __init__(self, source):
        self.source = source


class ComeMessage(Message):
    type = MESSAGE_COME

    def __init__(self, source, x, y):
        super(ComeMessage, self).__init__(source)
        self.x = x
        self.y = y

    @property
    def point(self):
        return Point(self.x, self.y)


class WaitMessage(Message):
    type = MESSAGE_WAIT
