added PassengerTypes to rules

This commit is contained in:
Chris Forbes
2010-01-05 14:59:21 +13:00
parent f2231997dc
commit 37a043bf96
3 changed files with 5 additions and 1 deletions

View File

@@ -57,6 +57,7 @@ namespace OpenRa.Game.GameRules
public readonly int[] SelectionSize = null;
public readonly int Passengers = 0;
public readonly int UnloadFacing = 0;
public readonly UnitMovementType[] PassengerTypes = null;
public UnitInfo(string name) { Name = name; }
}

View File

@@ -2,7 +2,7 @@ using OpenRa.Game.Graphics;
namespace OpenRa.Game
{
enum UnitMovementType : byte
public enum UnitMovementType : byte
{
Foot = 0,
Track = 1,