Helicopter..
This commit is contained in:
@@ -4,6 +4,11 @@ using OpenRa.Game.GameRules;
|
||||
|
||||
namespace OpenRa.Game.Traits
|
||||
{
|
||||
class HelicopterInfo : ITraitInfo
|
||||
{
|
||||
public object Create(Actor self) { return new Helicopter(self); }
|
||||
}
|
||||
|
||||
class Helicopter : IIssueOrder, IResolveOrder, IMovement
|
||||
{
|
||||
public IDisposable reservation;
|
||||
|
||||
@@ -2,6 +2,11 @@
|
||||
|
||||
namespace OpenRa.Game.Traits
|
||||
{
|
||||
class InvisibleToOthersInfo : ITraitInfo
|
||||
{
|
||||
public object Create(Actor self) { return new InvisibleToOthers(self); }
|
||||
}
|
||||
|
||||
class InvisibleToOthers : IRenderModifier
|
||||
{
|
||||
public InvisibleToOthers(Actor self) { }
|
||||
|
||||
@@ -5,6 +5,11 @@ using System.Text;
|
||||
|
||||
namespace OpenRa.Game.Traits
|
||||
{
|
||||
class IronCurtainInfo : ITraitInfo
|
||||
{
|
||||
public object Create(Actor self) { return new IronCurtain(self); }
|
||||
}
|
||||
|
||||
class IronCurtain
|
||||
{
|
||||
public IronCurtain(Actor self) {}
|
||||
|
||||
@@ -10,6 +10,7 @@ namespace OpenRa.Game.Traits
|
||||
public readonly int Sight = 0;
|
||||
public readonly int ROT = 0;
|
||||
public readonly int Speed = 0;
|
||||
|
||||
public object Create(Actor self) { return new Mobile(self); }
|
||||
}
|
||||
|
||||
|
||||
@@ -6,6 +6,11 @@ using OpenRa.Game.Traits.Activities;
|
||||
|
||||
namespace OpenRa.Game.Traits
|
||||
{
|
||||
class PlaneInfo : ITraitInfo
|
||||
{
|
||||
public object Create(Actor self) { return new Plane(self); }
|
||||
}
|
||||
|
||||
class Plane : IIssueOrder, IResolveOrder, IMovement
|
||||
{
|
||||
public IDisposable reservation;
|
||||
|
||||
Reference in New Issue
Block a user