public override void Initialize() { backgroundColor = Color.Black; //ScreenManager.Instance.BloomEnabled = true; decalManager = new DecalManager(); hudManager = new HudManager(); drawManager = new DrawManager(); dialogManager = new DialogManager(); entityManager = new EntityManager(decalManager, drawManager); //decalManager.AddDecal("Particles/lineparticle", new Vector2(500, 500)); }
public EntityManager(DecalManager decalManager, DrawManager drawManager) { DecalManager = decalManager; DrawManager = drawManager; collisionManager = new CollisionManager(this); }