Spaces:
Runtime error
Runtime error
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(), | |
Core.DebugCommand.CreateSystem(), | |
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(), | |
}; | |
} | |
} | |
} | |