custom-chatbot / data /SystemSetup.cs
fastx's picture
Upload 84 files
ac55997
raw
history blame
1.29 kB
using Photon.Deterministic;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Quantum
{
public static class SystemSetup
{
public static SystemBase[] CreateSystems(RuntimeConfig gameConfig, SimulationConfig simulationConfig)
{
return new SystemBase[] {
// pre-defined core systems
new Core.CullingSystem2D(),
new Core.CullingSystem3D(),
new Core.PhysicsSystem2D(),
new Core.PhysicsSystem3D(),
#if DEBUG
Core.DebugCommand.CreateSystem(),
#endif
new Core.NavigationSystem(),
new Core.EntityPrototypeSystem(),
new Core.PlayerConnectedSystem(),
new BotSDKDebuggerSystem(),
new GameplaySystemsGroup("Gameplay Systems",
new MatchSystem(),
new PlayerJoiningSystem(),
new CommandsSystem(),
new GameManagerSystem(),
new MemorySystem(),
new AISystem(),
new TeamDataSystem(),
new AttributesSystem(),
new HealthSystem(),
new ImmuneSystem(),
new VisibilitySystem(),
new InputSystem(),
new AttackSystem(),
new RespawnSystem(),
new SkillSystem()
),
// We don't add it to the group as it is a SignalsOnly system; no need to be enabled/disabled with the rest
new InventorySystem(),
};
}
}
}