Reservable..
This commit is contained in:
@@ -2,6 +2,11 @@
|
|||||||
|
|
||||||
namespace OpenRa.Game.Traits
|
namespace OpenRa.Game.Traits
|
||||||
{
|
{
|
||||||
|
class ReservableInfo : ITraitInfo
|
||||||
|
{
|
||||||
|
public object Create(Actor self) { return new Reservable(self); }
|
||||||
|
}
|
||||||
|
|
||||||
class Reservable : ITick
|
class Reservable : ITick
|
||||||
{
|
{
|
||||||
public Reservable(Actor self) { }
|
public Reservable(Actor self) { }
|
||||||
|
|||||||
@@ -1,6 +1,11 @@
|
|||||||
|
|
||||||
namespace OpenRa.Game.Traits
|
namespace OpenRa.Game.Traits
|
||||||
{
|
{
|
||||||
|
class SeedsOreInfo : ITraitInfo
|
||||||
|
{
|
||||||
|
public object Create(Actor self) { return new SeedsOre(self); }
|
||||||
|
}
|
||||||
|
|
||||||
class SeedsOre : ITick
|
class SeedsOre : ITick
|
||||||
{
|
{
|
||||||
public SeedsOre( Actor self ) {}
|
public SeedsOre( Actor self ) {}
|
||||||
|
|||||||
@@ -5,6 +5,11 @@ using OpenRa.Game.GameRules;
|
|||||||
|
|
||||||
namespace OpenRa.Game.Traits
|
namespace OpenRa.Game.Traits
|
||||||
{
|
{
|
||||||
|
class SquishByTankInfo : ITraitInfo
|
||||||
|
{
|
||||||
|
public object Create(Actor self) { return new SquishByTank(self); }
|
||||||
|
}
|
||||||
|
|
||||||
class SquishByTank : ICrushable
|
class SquishByTank : ICrushable
|
||||||
{
|
{
|
||||||
readonly Actor self;
|
readonly Actor self;
|
||||||
|
|||||||
Reference in New Issue
Block a user