Android Open Source - ShadowCraft_Android Gear






From Project

Back to project page ShadowCraft_Android.

License

The source code is released under:

GNU General Public License

If you think the Android project ShadowCraft_Android listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package com.shadowcraft.android;
/*from   w  ww.  j av a2  s .  c o m*/
import android.app.Activity;
import android.os.Bundle;
import android.view.Window;
import android.widget.LinearLayout;

public class Gear extends Activity {

    IconHandler icons;
    CharHandler charHandler;
    LinearLayout gearLayout;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        requestWindowFeature(Window.FEATURE_NO_TITLE);
        setContentView(R.layout.items);
        APP app = (APP) getApplication();
        icons = app.getIconHandler();
        charHandler = app.getCharHandler();
        init();
    }

    private void init() {
        gearLayout = (LinearLayout) findViewById(R.id.llGear);
        // TODO populate with real items from the charHandler.
        String[] slots = new String[] {"head", "neck", "shoulder", "back",
                "chest", "wrist", "hands", "waist", "legs", "feet", "finger1",
                "finger2", "trinket1", "trinket2", "mainHand", "offHand", "ranged"};
        for (String slot : slots) {
            ItemView item = new ItemView(this, null);
            item.init(charHandler, icons, slot);
            item.setId(0);
            gearLayout.addView(item);

        }
    }

}




Java Source Code List

calcs.ArmorMitigation.java
calcs.DamageCalculator.java
classes.Buffs.java
classes.Data.java
classes.GearBuffs.java
classes.Glyphs.java
classes.Proc.java
classes.ProcsList.java
classes.Race.java
classes.Stats.java
classes.Talents.java
classes.Weapon.java
com.shadowcraft.android.APP.java
com.shadowcraft.android.Bnet.java
com.shadowcraft.android.CharHandler.java
com.shadowcraft.android.DataBaseHelper.java
com.shadowcraft.android.Data.java
com.shadowcraft.android.Gear.java
com.shadowcraft.android.IconHandler.java
com.shadowcraft.android.ItemView.java
com.shadowcraft.android.RogueBackend.java
com.shadowcraft.android.ShadowcraftMain.java
com.shadowcraft.android.Stat.java
com.shadowcraft.android.TalentsData.java
com.shadowcraft.android.Talents.java
core.InvalidInputException.java
core.InvalidLevelException.java
core.util.java
rogue.AldrianasRogueDamageCalculator.java
rogue.Cycle.java
rogue.RogueDamageCalculator.java
rogue.RogueGlyphs.java
rogue.RogueModelerData.java
rogue.RogueTalents.java
rogue.Settings.java