Split Capturable into its own trait

This commit is contained in:
Paul Chote
2011-04-10 10:07:00 +12:00
parent 40f6c4e332
commit 43f81501a8
10 changed files with 44 additions and 48 deletions

View File

@@ -0,0 +1,23 @@
#region Copyright & License Information
/*
* Copyright 2007-2011 The OpenRA Developers (see AUTHORS)
* This file is part of OpenRA, which is free software. It is made
* available to you under the terms of the GNU General Public License
* as published by the Free Software Foundation. For more information,
* see COPYING.
*/
#endregion
using System.Linq;
using OpenRA.Effects;
using OpenRA.Traits;
namespace OpenRA.Mods.RA
{
public class CapturableInfo : TraitInfo<Capturable>
{
public readonly string[] CaptureClasses = {"Building"};
}
public class Capturable {}
}