File size: 1,293 Bytes
ac55997
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
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(),
			};
		}
	}
}