"""
A short description.

A bit longer description.

Args:
    variable (type): description

Returns:
    type: description

Raises:
    Exception: description

"""

import random


class Hex(object):
    """
    A short description.

    A bit longer description.

    Args:
        variable (type): description

    Returns:
        type: description

    Raises:
        Exception: description

    """

    def __init__(self, index=0, radius=0, center=[0, 0], axial=[0, 0], active=0):
        """
        Initialize Hex.

        A bit longer description.

        Args:
            variable (type): description

        Returns:
            type: description

        Raises:
            Exception: description

        """
        self._index = index
        self._radius = radius
        self._center = [center[0], center[1]]
        self._coord = [axial[0], axial[1]]
        self._active = active
        self._color = (50, 50, 50)

    def get_index(self):
        return self._index

    def set_index(self, index):
        self._index = index

    def del_index(self):
        del self._index
    index = property(get_index, set_index, del_index)

    def get_radius(self):
        return self._radius

    def set_radius(self, radius):
        self._radius = radius

    def del_radius(self):
        del self._radius
    radius = property(get_radius, set_radius, del_radius)

    def get_center(self):
        return self._center

    def set_center(self, center):
        self._center = [center[0], center[1]]

    def del_center(self):
        del self._center
    center = property(get_center, set_center, del_center)

    def get_coord(self):
        return self._coord

    def set_coord(self, axial):
        self._coord = [axial[0], axial[1]]

    def del_coord(self):
        del self._coord
    coord = property(get_coord, set_coord, del_coord)

    def get_active(self):
        return self._active

    def set_active(self, active):
        self._active = active

    def del_active(self):
        del self._active
    active = property(get_active, set_active, del_active)

    def get_color(self):
        return self._color

    def set_color(self, color):
        self._color = color

    def del_color(self):
        del self._color
    color = property(get_color, set_color, del_color)

096f901ad4285de1f75cfe572da6e9d45d1dd093
<mask token>


class Hex(object):
    <mask token>
    <mask token>

    def get_index(self):
        return self._index

    def set_index(self, index):
        self._index = index

    def del_index(self):
        del self._index
    <mask token>

    def get_radius(self):
        return self._radius

    def set_radius(self, radius):
        self._radius = radius

    def del_radius(self):
        del self._radius
    <mask token>

    def get_center(self):
        return self._center
    <mask token>

    def del_center(self):
        del self._center
    <mask token>

    def get_coord(self):
        return self._coord
    <mask token>

    def del_coord(self):
        del self._coord
    <mask token>

    def get_active(self):
        return self._active

    def set_active(self, active):
        self._active = active

    def del_active(self):
        del self._active
    <mask token>

    def get_color(self):
        return self._color
    <mask token>

    def del_color(self):
        del self._color
    <mask token>

<mask token>


class Hex(object):
    <mask token>
    <mask token>

    def get_index(self):
        return self._index

    def set_index(self, index):
        self._index = index

    def del_index(self):
        del self._index
    <mask token>

    def get_radius(self):
        return self._radius

    def set_radius(self, radius):
        self._radius = radius

    def del_radius(self):
        del self._radius
    <mask token>

    def get_center(self):
        return self._center

    def set_center(self, center):
        self._center = [center[0], center[1]]

    def del_center(self):
        del self._center
    <mask token>

    def get_coord(self):
        return self._coord
    <mask token>

    def del_coord(self):
        del self._coord
    <mask token>

    def get_active(self):
        return self._active

    def set_active(self, active):
        self._active = active

    def del_active(self):
        del self._active
    <mask token>

    def get_color(self):
        return self._color

    def set_color(self, color):
        self._color = color

    def del_color(self):
        del self._color
    <mask token>

<mask token>


class Hex(object):
    <mask token>

    def __init__(self, index=0, radius=0, center=[0, 0], axial=[0, 0], active=0
        ):
        """
        Initialize Hex.

        A bit longer description.

        Args:
            variable (type): description

        Returns:
            type: description

        Raises:
            Exception: description

        """
        self._index = index
        self._radius = radius
        self._center = [center[0], center[1]]
        self._coord = [axial[0], axial[1]]
        self._active = active
        self._color = 50, 50, 50

    def get_index(self):
        return self._index

    def set_index(self, index):
        self._index = index

    def del_index(self):
        del self._index
    <mask token>

    def get_radius(self):
        return self._radius

    def set_radius(self, radius):
        self._radius = radius

    def del_radius(self):
        del self._radius
    <mask token>

    def get_center(self):
        return self._center

    def set_center(self, center):
        self._center = [center[0], center[1]]

    def del_center(self):
        del self._center
    <mask token>

    def get_coord(self):
        return self._coord
    <mask token>

    def del_coord(self):
        del self._coord
    <mask token>

    def get_active(self):
        return self._active

    def set_active(self, active):
        self._active = active

    def del_active(self):
        del self._active
    <mask token>

    def get_color(self):
        return self._color

    def set_color(self, color):
        self._color = color

    def del_color(self):
        del self._color
    <mask token>

<mask token>


class Hex(object):
    <mask token>

    def __init__(self, index=0, radius=0, center=[0, 0], axial=[0, 0], active=0
        ):
        """
        Initialize Hex.

        A bit longer description.

        Args:
            variable (type): description

        Returns:
            type: description

        Raises:
            Exception: description

        """
        self._index = index
        self._radius = radius
        self._center = [center[0], center[1]]
        self._coord = [axial[0], axial[1]]
        self._active = active
        self._color = 50, 50, 50

    def get_index(self):
        return self._index

    def set_index(self, index):
        self._index = index

    def del_index(self):
        del self._index
    index = property(get_index, set_index, del_index)

    def get_radius(self):
        return self._radius

    def set_radius(self, radius):
        self._radius = radius

    def del_radius(self):
        del self._radius
    radius = property(get_radius, set_radius, del_radius)

    def get_center(self):
        return self._center

    def set_center(self, center):
        self._center = [center[0], center[1]]

    def del_center(self):
        del self._center
    center = property(get_center, set_center, del_center)

    def get_coord(self):
        return self._coord

    def set_coord(self, axial):
        self._coord = [axial[0], axial[1]]

    def del_coord(self):
        del self._coord
    coord = property(get_coord, set_coord, del_coord)

    def get_active(self):
        return self._active

    def set_active(self, active):
        self._active = active

    def del_active(self):
        del self._active
    active = property(get_active, set_active, del_active)

    def get_color(self):
        return self._color

    def set_color(self, color):
        self._color = color

    def del_color(self):
        del self._color
    color = property(get_color, set_color, del_color)

"""
A short description.

A bit longer description.

Args:
    variable (type): description

Returns:
    type: description

Raises:
    Exception: description

"""

import random


class Hex(object):
    """
    A short description.

    A bit longer description.

    Args:
        variable (type): description

    Returns:
        type: description

    Raises:
        Exception: description

    """

    def __init__(self, index=0, radius=0, center=[0, 0], axial=[0, 0], active=0):
        """
        Initialize Hex.

        A bit longer description.

        Args:
            variable (type): description

        Returns:
            type: description

        Raises:
            Exception: description

        """
        self._index = index
        self._radius = radius
        self._center = [center[0], center[1]]
        self._coord = [axial[0], axial[1]]
        self._active = active
        self._color = (50, 50, 50)

    def get_index(self):
        return self._index

    def set_index(self, index):
        self._index = index

    def del_index(self):
        del self._index
    index = property(get_index, set_index, del_index)

    def get_radius(self):
        return self._radius

    def set_radius(self, radius):
        self._radius = radius

    def del_radius(self):
        del self._radius
    radius = property(get_radius, set_radius, del_radius)

    def get_center(self):
        return self._center

    def set_center(self, center):
        self._center = [center[0], center[1]]

    def del_center(self):
        del self._center
    center = property(get_center, set_center, del_center)

    def get_coord(self):
        return self._coord

    def set_coord(self, axial):
        self._coord = [axial[0], axial[1]]

    def del_coord(self):
        del self._coord
    coord = property(get_coord, set_coord, del_coord)

    def get_active(self):
        return self._active

    def set_active(self, active):
        self._active = active

    def del_active(self):
        del self._active
    active = property(get_active, set_active, del_active)

    def get_color(self):
        return self._color

    def set_color(self, color):
        self._color = color

    def del_color(self):
        del self._color
    color = property(get_color, set_color, del_color)
