def __init__(self, name, file_name, preview_img, x, y, date_created,
                 char_id, is_unlocked, display_order):
        super(AvatarCharacter, self).__init__(
            name=name, unique_id=char_id, disp_order=display_order,
            date_created=date_created, unlocked=is_unlocked)

        self._asset_fname = content_dir.get_file('CHARACTER_DIR', file_name)
        self._img_preview = content_dir.get_file('PREVIEW_ICONS', preview_img)

        self._crop_x = x
        self._crop_y = y
    def __init__(self, name, file_name, preview_img, date_created, env_id,
                 is_unlocked, display_order):
        super(AvatarEnvironment, self).__init__()
        self._name = name
        self._date_created = date_created
        self._display_order = display_order
        self._unique_id = env_id
        self._is_unlocked = is_unlocked

        self._asset_fname = content_dir.get_file('ENVIRONMENT_DIR', file_name)
        self._img_preview = content_dir.get_file('PREVIEW_ICONS', preview_img)
 def __init__(self, name, file_name, preview_img, x, y,
              date_created, item_id, is_unlocked, display_order):
     super(AvatarAccessory, self).__init__(
         name=name, unique_id=item_id, disp_order=display_order,
         date_created=date_created, unlocked=is_unlocked)
     self._img_position_x = x
     self._img_position_y = y
     # if an absolute path is given use it instead, so that we can
     # override elements
     self._asset_fname = content_dir.get_file('ITEM_DIR', file_name)
     self._img_preview = content_dir.get_file('PREVIEW_ICONS', preview_img)
    def __init__(self, name, file_name, preview_img, date_created, env_id,
                 is_unlocked, display_order):
        super(AvatarEnvironment, self).__init__()
        self._name = name
        self._date_created = date_created
        self._display_order = display_order
        self._unique_id = env_id
        self._is_unlocked = is_unlocked

        self._asset_fname = content_dir.get_file('ENVIRONMENT_DIR', file_name)
        self._img_preview = content_dir.get_file('PREVIEW_ICONS', preview_img)
    def __init__(self, name, file_name, preview_img, x, y, date_created,
                 char_id, is_unlocked, display_order):
        super(AvatarCharacter, self).__init__(name=name,
                                              unique_id=char_id,
                                              disp_order=display_order,
                                              date_created=date_created,
                                              unlocked=is_unlocked)

        self._asset_fname = content_dir.get_file('CHARACTER_DIR', file_name)
        self._asset_fname_overworld = content_dir.get_file(
            'CHARACTER_OVERWORLD_DIR', file_name)
        self._img_preview = content_dir.get_file('PREVIEW_ICONS', preview_img)

        self._crop_x = x
        self._crop_y = y
 def __init__(self, name, file_name, preview_img, x, y, date_created,
              item_id, is_unlocked, display_order):
     super(AvatarAccessory, self).__init__(name=name,
                                           unique_id=item_id,
                                           disp_order=display_order,
                                           date_created=date_created,
                                           unlocked=is_unlocked)
     self._img_position_x = x
     self._img_position_y = y
     # if an absolute path is given use it instead, so that we can
     # override elements
     self._asset_fname = content_dir.get_file('ITEM_DIR', file_name)
     self._asset_fname_overworld = content_dir.get_file(
         'ITEM_OVERWORLD_DIR', file_name)
     self._img_preview = content_dir.get_file('PREVIEW_ICONS', preview_img)
    def __init__(self, name, date_created, cat_id, display_order,
                 z_index, sel_border, hover_border, active_icon,
                 inactive_icon):

        super(AvatarCategory, self).__init__(
            name=name, unique_id=cat_id, disp_order=display_order,
            date_created=date_created)

        self._z_index = z_index
        self._selected_border = content_dir.get_file(
            'PREVIEW_ICONS', sel_border)
        self._hover_border = content_dir.get_file(
            'PREVIEW_ICONS', hover_border)
        self._active_category_icon = content_dir.get_file(
            'ACTIVE_CATEGORY_ICONS', active_icon)
        self._inactive_category_icon = content_dir.get_file(
            'INACTIVE_CATEGORY_ICONS', inactive_icon)

        self._character = None

        self._items = {}
    def __init__(self, name, date_created, cat_id, display_order, z_index,
                 sel_border, hover_border, active_icon, inactive_icon):

        super(AvatarCategory, self).__init__(name=name,
                                             unique_id=cat_id,
                                             disp_order=display_order,
                                             date_created=date_created)

        self._z_index = z_index
        self._selected_border = content_dir.get_file('PREVIEW_ICONS',
                                                     sel_border)
        self._hover_border = content_dir.get_file('PREVIEW_ICONS',
                                                  hover_border)
        self._active_category_icon = content_dir.get_file(
            'ACTIVE_CATEGORY_ICONS', active_icon)
        self._inactive_category_icon = content_dir.get_file(
            'INACTIVE_CATEGORY_ICONS', inactive_icon)

        self._character = None

        self._items = {}