private void InitializeEntityManager() { entityManager = new EntityManager(new Universe()); entityManager.AddComponentType <Placement>(ComponentTypeIds.Placement, 400); entityManager.AddComponentType <Aspect>(ComponentTypeIds.Aspect, 400); entityManager.AddComponentType <Physics>(ComponentTypeIds.Physics, 400); entityManager.AddComponentType <InputMap>(ComponentTypeIds.InputMap, 10); entityManager.AddComponentType <PlayerInfo>(ComponentTypeIds.Player, 10); entityManager.AddComponentType <ExplosionImpact>(ComponentTypeIds.ExplosionImpact, 400); entityManager.AddComponentType <InputHandlers>(ComponentTypeIds.InputHandlers, 10); entityManager.AddComponentType <Bomb>(ComponentTypeIds.Bomb, 20); entityManager.AddComponentType <MessageHandler>(ComponentTypeIds.MessageHandler, 100); entityManager.AddComponentType <PowerUp>(ComponentTypeIds.PowerUp, 100); entityManager.AddComponentType <Explosion>(ComponentTypeIds.Explosion, 200); entityManager.AddComponentType <ScriptContainer>(ComponentTypeIds.ScriptContainer, 100); entityManager.AddComponentType <FrameAnimation>(ComponentTypeIds.FrameAnimation, 200); entityManager.AddComponentType <GameState>(ComponentTypeIds.GameState, 10); }