This commit is contained in:
2022-04-24 09:05:15 +04:00
commit b26e7c1402
60 changed files with 3887 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
using System.Collections.Generic;
namespace Ragon.Core;
public class Entity
{
private static int _idGenerator = 0;
public int EntityId { get; private set; }
public uint OwnerId { get; private set; }
public byte[] State { get; set; }
public Dictionary<int, byte[]> Properties { get; set; }
public Entity(uint ownerId)
{
OwnerId = ownerId;
EntityId = _idGenerator++;
}
}