Ejemplo n.º 1
0
        protected override void HandleWorkerConnectionEstablished()
        {
            GameObjectCreationHelper.EnableStandardGameObjectCreation(Worker.World, new SyncTransObjectCreation(Worker), entityRepresentationMapping);
            WorkerUtils.AddClientSystems(Worker.World, false);

            this.ConnectionState = ConnectionState.ConnectionEstablished;
        }
        protected override void HandleWorkerConnectionEstablished()
        {
            WorkerUtils.AddClientSystems(Worker.World, this.gameObject, false);

            var fieldSystem = Worker.World.GetExistingSystem <FieldQueryClientSystem>();

            if (fieldSystem != null)
            {
                fieldSystem.OnQueriedEvent += CreatePlayerRequest;
                fieldSystem.SetXZPosition(pos.x, pos.z);
            }
        }
Ejemplo n.º 3
0
 protected override void HandleWorkerConnectionEstablished()
 {
     GameObjectCreationHelper.EnableStandardGameObjectCreation(Worker.World, new SyncTransObjectCreation(Worker), entityRepresentationMapping);
     WorkerUtils.AddGameLogicSystems(Worker.World);
 }
 protected override void HandleWorkerConnectionEstablished()
 {
     WorkerUtils.AddStrategyLogicSystems(Worker.World, entityRepresentationMapping);
 }
Ejemplo n.º 5
0
 protected override void HandleWorkerConnectionEstablished()
 {
     WorkerUtils.AddGameLogicSystems(Worker.World, this.gameObject);
 }