public void loadContent(ContentManager content) { //Added November 26, 2013 m_Animate.loadContent("Unicorn", content); // m_Animate.addAnimation(new Animation(16, new int[] { 0 })); m_Animate.addAnimation(new Animation(16, new int[] { 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 })); m_Animate.addAnimation(new Animation(16, new int[] { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 })); m_Animate.addAnimation(new Animation(16, new int[] { 0 })); m_Animate.addAnimation(new Animation(16, new int[] { 0 })); m_Animate.addAnimation(new Animation(16, new int[] { 0, 1 })); m_Animate.addAnimation(new Animation(16, new int[] { 0, 1 })); m_Animate.addAnimation(new Animation(8, new int[] { 0, 1, 2, 3 })); m_Animate.addAnimation(new Animation(8, new int[] { 0, 1, 2, 3 })); //Add in animations m_Cross = content.Load <Texture2D>("cross"); m_LaserManager.loadContent(content); m_LevelBounds = new Rectangle(0, 0, Level.getWidthOfArray() * 32, Level.getHeightOfArray() * 32); //Added November 27, 2013 m_Particles.loadContent(content); }
public void loadContent(ContentManager content) { m_Particles.loadContent(content); }