# Path: strips/operators.py
# class Action(Operator): 
#     cost = 1 # TODO: cost function


from strips.operators import Action
from itertools import combinations

class SprayPaint(Action):
    actionName = 'SprayPaint'
    def __init__(self, args):
        Action.__init__(self, args)
        (obj, sprayer, color) = self.args
        self.preconditions = [('onTable', obj), ('clear', obj), ('paintsColor', sprayer, color), ('holding', sprayer)]
        self.positiveEffects = [('colored', obj, color)]
        self.negativeEffects = []

class BrushPaint(Action):
    actionName = 'BrushPaint'
    def __init__(self, args):

# Path: strips/operators.py
# class Action(Operator): 
#     cost = 1 # TODO: cost function


# Path: strips/domains/retired/painting.py
from strips.operators import Action
from itertools import combinations


class SprayPaint(Action):
    actionName = 'SprayPaint'
    def __init__(self, args):
        Action.__init__(self, args)
        (obj, sprayer, color) = self.args
        self.preconditions = [('onTable', obj), ('clear', obj), ('paintsColor', sprayer, color), ('holding', sprayer)]
        self.positiveEffects = [('colored', obj, color)]
        self.negativeEffects = []

class BrushPaint(Action):
    actionName = 'BrushPaint'
    def __init__(self, args):

        Action.__init__(self, args)