I wanted to add a class like this:
public enum State
{
Idle,
Empty,
Filling,
Dropping,
Swapping,
Deleting
}
public class Cell
{
public int Row;
public int Column;
public int Index;
public State State;
public Cell(int row, int column, int index)
{
Row = row;
Column = column;
Index = index;
State = State.Idle;
}
}
How do you do it in Godot?
I created Cell.cs with File -> New in the scripting window - it insisted I derive from a Godot class like Node. So, I let it do that, then I removed the Node reference and made my classes like above. That got me an extra set of classes.
I don't know the answer to adding references to external assemblies.