Mushroom now at lv 8
This commit is contained in:
parent
1505213417
commit
6c1e780701
4
.gitignore
vendored
4
.gitignore
vendored
@ -6,4 +6,6 @@
|
||||
.DS_Store
|
||||
/build
|
||||
/captures
|
||||
/app/build
|
||||
/app/build
|
||||
/app/release
|
||||
*.iml
|
||||
|
@ -30,15 +30,15 @@ public enum ToolType {
|
||||
R.drawable.tools_magnet_button, 22, 2, 5,
|
||||
new ToolUpgrade(ToolUpgradeType.COOLDOWN, 5000, 3000),
|
||||
new ToolUpgrade(ToolUpgradeType.FORCE, 100, 500)),
|
||||
POWER_MUSHROOM(R.string.tool_name_power_mushroom, R.string.tool_description_power_mushroom,
|
||||
R.drawable.tools_power_mushroom, R.drawable.tools_power_mushroom_button, 50,
|
||||
5, 7, new ToolUpgrade(ToolUpgradeType.COOLDOWN, 15000, 11000),
|
||||
new ToolUpgrade(ToolUpgradeType.DURATION, 5000, 10000)),
|
||||
STASIS(R.string.tool_name_stasis, R.string.tool_description_stasis, R.drawable.tools_stasis,
|
||||
R.drawable.tools_stasis_button, 27, 4, 6,
|
||||
new ToolUpgrade(ToolUpgradeType.COOLDOWN, 6000, 4000),
|
||||
new ToolUpgrade(ToolUpgradeType.FORCE, 1, 2),
|
||||
new ToolUpgrade(ToolUpgradeType.SIZE, 100, 200));
|
||||
new ToolUpgrade(ToolUpgradeType.SIZE, 100, 200)),
|
||||
POWER_MUSHROOM(R.string.tool_name_power_mushroom, R.string.tool_description_power_mushroom,
|
||||
R.drawable.tools_power_mushroom, R.drawable.tools_power_mushroom_button, 50,
|
||||
5, 7, new ToolUpgrade(ToolUpgradeType.COOLDOWN, 15000, 11000),
|
||||
new ToolUpgrade(ToolUpgradeType.DURATION, 5000, 10000));
|
||||
|
||||
@StringRes
|
||||
private final int name;
|
||||
@ -96,9 +96,10 @@ public enum ToolType {
|
||||
}
|
||||
|
||||
public static void loadAllToolTextures(TexturePack texturePack) {
|
||||
for (ToolType type : values()){
|
||||
for (ToolType type : values()) {
|
||||
type.loadToolTexture(texturePack);
|
||||
type.loadToolButtonTexture(texturePack);}
|
||||
type.loadToolButtonTexture(texturePack);
|
||||
}
|
||||
}
|
||||
|
||||
private void loadToolTexture(TexturePack texturePack) {
|
||||
@ -110,7 +111,7 @@ public enum ToolType {
|
||||
toolTexture = texturePack.loadTexture(toolTextureId);
|
||||
}
|
||||
|
||||
private void loadToolButtonTexture(TexturePack texturePack){
|
||||
private void loadToolButtonTexture(TexturePack texturePack) {
|
||||
if (buttonDrawable == -1)
|
||||
return;
|
||||
toolButtonTexture = texturePack.loadTexture(buttonDrawable);
|
||||
|
@ -17,16 +17,16 @@ public class LevelUpBounties extends HashMap<Integer, LevelBounty> {
|
||||
public LevelUpBounties(int level) {
|
||||
super.put(1, new LevelBounty(0, 0, ToolType.RAMP, true));
|
||||
super.put(2, new LevelBounty(5, 0, ToolType.SPRING, false));
|
||||
super.put(3, new LevelBounty(5, 0, ToolType.POWER_MUSHROOM, true));
|
||||
super.put(3, new LevelBounty(5, 0, null, true));
|
||||
super.put(4, new LevelBounty(5, 1, ToolType.BOMB, false));
|
||||
super.put(5, new LevelBounty(5, 1, ToolType.MAGNET, false));
|
||||
super.put(6, new LevelBounty(5, 2, null, true));
|
||||
super.put(7, new LevelBounty(5, 1, ToolType.STASIS, false));
|
||||
super.put(8, new LevelBounty(2, 2, null, false));
|
||||
super.put(8, new LevelBounty(2, 2, ToolType.POWER_MUSHROOM, false));
|
||||
super.put(9, new LevelBounty(2, 3, null, true));
|
||||
super.put(10, new LevelBounty(2, 1, null, true));
|
||||
super.put(11, new LevelBounty(2, 2, null, true));
|
||||
super.put(12, new LevelBounty(2, 4, null, true));
|
||||
super.put(10, new LevelBounty(2, 1, null, false));
|
||||
super.put(11, new LevelBounty(2, 2, null, false));
|
||||
super.put(12, new LevelBounty(2, 4, null, false));
|
||||
loadAllForLevel(level);
|
||||
}
|
||||
|
||||
|
@ -11,7 +11,7 @@
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_alignParentTop="true"
|
||||
android:layout_margin="10dp"
|
||||
android:visibility="invisible"
|
||||
android:visibility="visible"
|
||||
android:src="@drawable/guis_pausebutton"/>
|
||||
|
||||
<TextView
|
||||
|
Loading…
x
Reference in New Issue
Block a user