project_files/Android-build/SDL-android-project/src/org/hedgewars/hedgeroid/Datastructures/Weaponset.java
author Medo <smaxein@googlemail.com>
Sun, 12 Aug 2012 23:51:36 +0200
changeset 7494 e65adfc99f15
parent 7485 0481bd74267c
child 7508 763d3961400b
permissions -rw-r--r--
frontlib/Hedgeroid: Modified frontlib build in Hedgeroid so it works without having to copy the source dir.

package org.hedgewars.hedgeroid.Datastructures;

import org.hedgewars.hedgeroid.frontlib.Flib;

public final class Weaponset {
	public static final int WEAPONS_COUNT = Flib.INSTANCE.flib_get_weapons_count();
	
	public final String name, loadout, crateProb, crateAmmo, delay;
	
	public Weaponset(String name, String loadout, String crateProb, String crateAmmo, String delay) {
		this.name = name;
		this.loadout = loadout;
		this.crateProb = crateProb;
		this.crateAmmo = crateAmmo;
		this.delay = delay;
	}

	@Override
	public String toString() {
		return name; // TODO use the generated one once StartGameActivity doesn't need this anymore
	}
}