# import bpy
# import random
# import math
# import pickle
# # from .general import DirectionalPoint2d, Rect2d, DirectionalPoints2dCollection
# # from ..utils import définirPixel
# from bpy.types import Node
# from .. import CityNodeTreeNode
#
#
# class MapMixNode(Node, CityNodeTreeNode):
# 	bl_label = 'Map mix'
# 	mix_mode = bpy.props.EnumProperty(
# 		name='Mode',
# 		description='',
# 		items=[
# 			('ADD', 'Add', '', 1),
# 			('SUBTRACT', 'Subtract', '', 2),
# 			('MULTIPLY', 'Multiply', '', 3),
# 			('DIVIDE', 'Divide', '', 4),
# 			('POWER', 'Power', '', 5),
# 		])
# 	pickled_datablock = bpy.props.StringProperty()
#
# 	def init(self, context):
# 		self.width = 200
# 		self.inputs.new('MapSocket', 'Map 1')
# 		self.inputs.new('MapSocket', 'Map 2')
# 		self.inputs.new('MapSocket', 'Mask map')
# 		self.outputs.new('MapSocket', 'Map')
#
# 	def draw_buttons(self, context, layout):
# 		row = layout.row()
# 		row.prop(self, 'mix_mode')
#
# 	def update(self):
# 		pass
