project_files/Android-build/SDL-android-project/src/org/hedgewars/hedgeroid/Datastructures/Weaponset.java
equal
deleted
inserted
replaced
|
1 package org.hedgewars.hedgeroid.Datastructures; |
|
2 |
|
3 import org.hedgewars.hedgeroid.frontlib.Flib; |
|
4 |
|
5 public final class Weaponset { |
|
6 public static final int WEAPONS_COUNT = Flib.INSTANCE.flib_get_weapons_count(); |
|
7 |
|
8 public final String name, loadout, crateProb, crateAmmo, delay; |
|
9 |
|
10 public Weaponset(String name, String loadout, String crateProb, String crateAmmo, String delay) { |
|
11 this.name = name; |
|
12 this.loadout = loadout; |
|
13 this.crateProb = crateProb; |
|
14 this.crateAmmo = crateAmmo; |
|
15 this.delay = delay; |
|
16 } |
|
17 |
|
18 @Override |
|
19 public String toString() { |
|
20 return name; // TODO use the generated one once StartGameActivity doesn't need this anymore |
|
21 } |
|
22 } |