EngineerCapture..

This commit is contained in:
Chris Forbes
2010-01-10 13:52:35 +13:00
parent aeda044f83
commit 367d1e7761
3 changed files with 15 additions and 0 deletions

View File

@@ -2,6 +2,11 @@
namespace OpenRa.Game.Traits
{
class EngineerCaptureInfo : ITraitInfo
{
public object Create(Actor self) { return new EngineerCapture(self); }
}
class EngineerCapture : IIssueOrder, IResolveOrder
{
public const int EngineerDamage = 300; // todo: push into rules, as a weapon

View File

@@ -2,6 +2,11 @@
namespace OpenRa.Game.Traits
{
class FakeInfo : ITraitInfo
{
public object Create(Actor self) { return new Fake(self); }
}
class Fake : ITags
{
public Fake(Actor self){}

View File

@@ -2,5 +2,10 @@
namespace OpenRa.Game.Traits
{
class GpsLaunchSiteInfo : ITraitInfo
{
public object Create(Actor self) { return new GpsLaunchSite(self); }
}
class GpsLaunchSite { public GpsLaunchSite(Actor self) { } }
}