예제 #1
0
 public void Initialize(GraphicsDeviceManager graphics, GraphicsDevice details)
 {
     this.graphics = graphics;
     this.details  = details;
     //camera = new Camera(details.Viewport);
     castletile    = new CastleTile();
     abilities     = new abilityManager();
     isGameOver    = false;
     zombiesDeath  = new EnemyDeathManager();
     shur          = new shurikenManager();
     zombies       = new EnemyManager();
     soundEffects  = new SFX();
     firstCutscene = true;
     finalCutscene = false;
     ayoub         = new lord(new Vector2(800, 50));
 }
예제 #2
0
        public void Initialize(GraphicsDeviceManager graphics, GraphicsDevice details)
        {
            this.graphics = graphics;
            this.details  = details;

            clouds           = new FogLvl2();
            backClouds       = new FogLvl2();
            mountains        = new mountainMap();
            healthbar        = new HealthBar();
            abilitiesManager = new abilityManager();
            zombieDeath      = new EnemyDeathManager();
            zombies          = new EnemyManager();
            shur             = new shurikenManager();
            styraxTheHero    = new Hero(new Vector2(1192.148f, 1409.602f));
            isGameOver       = false;
            levelHasFinished = false;
            startCutscene    = false;
            endGamePos       = new Vector2(1190f, 88.67671f);
        }
예제 #3
0
파일: Hero.cs 프로젝트: styrax94/Bushido
 public void getManagers(EnemyManager enManager, shurikenManager shManager)
 {
     this.enManager = enManager;
     this.shManager = shManager;
 }