added list of valid target categories to WeaponInfo

This commit is contained in:
Chris Forbes
2010-04-01 22:04:22 +13:00
parent e3ec2f2925
commit 9fa9ec6b5a
2 changed files with 8 additions and 13 deletions

View File

@@ -81,6 +81,7 @@ namespace OpenRA.GameRules
public readonly int ROF = 1;
public readonly int Burst = 1;
public readonly bool Charges = false;
public readonly string[] ValidTargets = { "Vehicle", "Infantry" };
public IProjectileInfo Projectile;
public List<WarheadInfo> Warheads = new List<WarheadInfo>();