package Megumin.Actions;

import Megumin.Nodes.Sprite;

class Event {
    private Sprite sprite;
    private Action action;
    private String sceneName;

    Event() {
    }

    Event(Sprite sprite, Action action) {
        this(sprite, action, "");
    }

    Event(Sprite sprite, Action action, String sceneName) {
        this.sprite = sprite;
        this.action = action;
        this.sceneName = sceneName;
    }

    Event(Event event) {
        sprite = event.sprite;
        action = event.action;
    }

    public Sprite getSprite() {
        return sprite;
    }

    public void setSprite(Sprite sprite) {
        this.sprite = sprite;
    }

    public Action getAction() {
        return action;
    }

    public void setAction(Action action) {
        this.action = action;
    }

    public String getSceneName() {
        return sceneName;
    }

    public void setSceneName(String sceneName) {
        this.sceneName = sceneName;
    }

    @Override
    public boolean equals(Object o) {
        return ((Event)o).getSprite().equals(sprite) && ((Event)o).getAction().equals(action);
    }
}
@@ -494,32 +494,69 @@
 = event.action;%0A
+        sceneName = event.sceneName;%0A
     %7D%0A%0A    publi

fix event