Exemplo n.º 1
0
        public void Initialize(GraphicsDeviceManager graphics, GraphicsDevice details)
        {
            this.graphics = graphics;
            this.details  = details;

            map           = new Map();
            maptile       = new mapTile();
            mapwall       = new mapWall();
            bgLayer1      = new Fog();
            styraxTheHero = new Hero(new Vector2(2000, 250));

            abilitiesManager = new abilityManager();
            healthbar        = new HealthBar();
            isGameOver       = false;
            levelHasFinished = false;
            startCutscene    = false;
            endGamePos       = new Vector2(1183, 51);
        }
Exemplo n.º 2
0
 public void getMap4(mapTile maptile)
 {
     this.maptile = maptile;
 }
Exemplo n.º 3
0
 public void getMap(Map map, mapTile maptile)
 {
     this.map     = map;
     this.maptile = maptile;
 }