Improved entity updating

This commit is contained in:
2025-12-22 00:18:13 +01:00
parent fc5e8ceeee
commit 6fe96d41a2
5 changed files with 164 additions and 77 deletions

View File

@@ -1,9 +1,10 @@
namespace Server;
public class Entity(Dictionary<string, string> attributes, Probmethods.probMethodDelegate probMethod, List<Datapoint> datapoints, string name)
public class Entity(Dictionary<string, string> attributes, Probmethods.probMethodDelegate probMethod, string probMethodName, List<Datapoint> datapoints, string name)
{
public Dictionary<string, string> attributes = attributes;
public Probmethods.probMethodDelegate probMethod = probMethod;
public string probMethodName = probMethodName;
public List<Datapoint> datapoints = datapoints;
public int id;
public string name = name;