package me.eater.threedom.dom.event

import me.eater.threedom.dom.INode
import me.eater.threedom.kapt.EventName

sealed class NodeClassListUpdate {
    abstract val node: INode<*>

    @EventName("NodeClassesRemoved")
    class Removed(val tagNames: Set<String>, override val node: INode<*>) : NodeClassListUpdate()

    @EventName("NodeClassesAdded")
    class Added(val tagNames: Set<String>, override val node: INode<*>) : NodeClassListUpdate()
}
