Beispiel #1
0
 public static void AddGameLogicSystems(World world)
 {
     AddLifecycleSystems(world);
     TransformSynchronizationSystemHelper.AddServerSystems(world);
     PlayerLifecycleConfig.AddServerSystems(world);
     GameObjectRepresentationSystemHelper.AddSystems(world);
     GameObjectCreationSystemHelper.EnableStandardGameObjectCreation(world);
     world.GetOrCreateManager <CubeMovementSystem>();
     world.GetOrCreateManager <TriggerColorChangeSystem>();
     world.GetOrCreateManager <ProcessLaunchCommandSystem>();
     world.GetOrCreateManager <ProcessRechargeSystem>();
     world.GetOrCreateManager <MetricSendSystem>();
     world.GetOrCreateManager <ProcessScoresSystem>();
     world.GetOrCreateManager <CollisionProcessSystem>();
 }
Beispiel #2
0
 public static void AddClientSystems(World world)
 {
     AddLifecycleSystems(world);
     TransformSynchronizationSystemHelper.AddClientSystems(world);
     PlayerLifecycleConfig.AddClientSystems(world);
     GameObjectRepresentationSystemHelper.AddSystems(world);
     GameObjectCreationSystemHelper.EnableStandardGameObjectCreation(world);
     world.GetOrCreateManager <ProcessColorChangeSystem>();
     world.GetOrCreateManager <LocalPlayerInputSync>();
     world.GetOrCreateManager <MoveLocalPlayerSystem>();
     world.GetOrCreateManager <InitCameraSystem>();
     world.GetOrCreateManager <FollowCameraSystem>();
     world.GetOrCreateManager <InitUISystem>();
     world.GetOrCreateManager <UpdateUISystem>();
     world.GetOrCreateManager <PlayerCommandsSystem>();
     world.GetOrCreateManager <MetricSendSystem>();
 }