﻿using System;
using System.Xml.Serialization;

public class StartNode : BaseNode {
    
    protected override void AddInterfaces()
    {
        AddOutput(0);
    }

    private void SetInterfacePositions()
    {
        SetInterface(0, 1);
    }

    public override void Draw()
    {
        Transform.Width = 80;
        Transform.Height = 50;
        WindowTitle = "Start";
        nodeType = NodeTypes.Event;

        SetInterfacePositions();
        DrawInterfaces();
    }

    public override BaseAction GetAction()
    {
        return new StartAction();
    }
}
