Exemplo n.º 1
0
        public void loadContent(ContentManager content)
        {
            m_SpriteSheet = content.Load <Texture2D>("Narwhal");

            m_Animate.loadContent("Narwhal", content);
            m_Animate.addAnimation(new Animation(32, new int[] { 0 }));
            m_Animate.addAnimation(new Animation(8, new int[] { 0, 1, 2, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }));

            m_BeamManager.loadContent(content);

            m_LavaWave.loadContent(content);

            m_NarwhalGun.loadContent(content);

            m_Lava.loadContent(content);

            for (int i = 0; i < m_Particles.Length; i++)
            {
                m_Particles[i].loadContent(content);
            }
        }
Exemplo n.º 2
0
 public void loadContent(ContentManager content)
 {
     m_Animate.loadContent("LavaWave", content);
     m_Animate.addAnimation(new Animation(32, new int[] { 0 }));
 }
Exemplo n.º 3
0
 virtual public void loadContent(string spriteSheetName, ContentManager content)
 {
     m_Animate.loadContent(spriteSheetName, content);
 }