GodotTicTacToe/scripts/Connection.cs

13 lines
265 B
C#
Raw Normal View History

2017-11-21 18:33:48 +01:00

public class Connection {
private static int IDCounter = 0;
public readonly int ID = IDCounter++;
public string Address;
public int Port;
public Connection(string address, int port) {
Address = address;
Port = port;
}
}