コード例 #1
0
 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));
 }
コード例 #2
0
 public EntityManager(DecalManager decalManager, DrawManager drawManager)
 {
     DecalManager     = decalManager;
     DrawManager      = drawManager;
     collisionManager = new CollisionManager(this);
 }