Beispiel #1
0
        public void Load(ContentManager Content, GraphicsDevice graphics)
        {
            this.graphics           = graphics;
            TreasureManager.Content = Content;
            CollectTreasureInfo.LoadContent(Content);
            upgradeBar = new UpgradeBar(Content, playerManager.getPlayer(), 0.65f);

            //for (int i = 0; i < treasureList.Count; i++)
            //{
            //    treasureList[i].Load(Content, "arrow1");
            //}
        }
Beispiel #2
0
        private void addCollectTreasureInfo(BaseTreasureAbstract treasure)
        {
            CollectTreasureInfo collectInfo = new CollectTreasureInfo(treasure.title, treasure.position);

            collectedTreasureInfo.Add(collectInfo);
        }