예제 #1
0
        protected override void LoadContent()
        {
            // Create a new SpriteBatch, which can be used to draw textures.
            spriteBatch = new SpriteBatch(GraphicsDevice);

            axe1 = WeaponLoader.GetInstance().Get("axe1");

            Content.Unload();
        }
예제 #2
0
 public WeaponFactory()
 {
     weaponSprites     = WeaponLoader.GetInstance();
     projectileSprites = ProjectileLoader.GetInstance();
 }