This commit is contained in:
SergoDobro 2024-08-16 23:50:59 +03:00
parent 684033ce6f
commit 5e2666fbd5

View file

@ -19,9 +19,7 @@ public abstract class GameObject
#region ServerSide #region ServerSide
public GameObject(Vector2 position) public GameObject(Vector2 position)
{ {
this.position = position; this.position = position;
server = new Server();
server.RegisterGameObject(this);
graphicsComponent.LoadContent(); graphicsComponent.LoadContent();
} }