routed invuln & chrono powers
This commit is contained in:
15
OpenRa.Game/SupportPowers/Chronoshift.cs
Normal file
15
OpenRa.Game/SupportPowers/Chronoshift.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
using OpenRa.Game.Orders;
|
||||
|
||||
namespace OpenRa.Game.SupportPowers
|
||||
{
|
||||
class Chronoshift : ISupportPowerImpl
|
||||
{
|
||||
public void Activate(SupportPower p)
|
||||
{
|
||||
// todo: someone has to call SupportPower.FinishActivate when we're done!
|
||||
|
||||
if (Game.controller.ToggleInputMode<ChronosphereSelectOrderGenerator>())
|
||||
Sound.Play("slcttgt1.aud");
|
||||
}
|
||||
}
|
||||
}
|
||||
15
OpenRa.Game/SupportPowers/IronCurtain.cs
Normal file
15
OpenRa.Game/SupportPowers/IronCurtain.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
using OpenRa.Game.Orders;
|
||||
|
||||
namespace OpenRa.Game.SupportPowers
|
||||
{
|
||||
class IronCurtain : ISupportPowerImpl
|
||||
{
|
||||
public void Activate(SupportPower p)
|
||||
{
|
||||
// todo: someone has to call SupportPower.FinishActivate when we're done!
|
||||
|
||||
if (Game.controller.ToggleInputMode<IronCurtainOrderGenerator>())
|
||||
Sound.Play("slcttgt1.aud");
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user