support power impl pretty much done
This commit is contained in:
12
OpenRa.Game/SupportPowers/ISupportPowerImpl.cs
Normal file
12
OpenRa.Game/SupportPowers/ISupportPowerImpl.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace OpenRa.Game.SupportPowers
|
||||
{
|
||||
interface ISupportPowerImpl
|
||||
{
|
||||
void Activate(SupportPower p);
|
||||
}
|
||||
}
|
||||
16
OpenRa.Game/SupportPowers/NullPower.cs
Normal file
16
OpenRa.Game/SupportPowers/NullPower.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace OpenRa.Game.SupportPowers
|
||||
{
|
||||
class NullPower : ISupportPowerImpl
|
||||
{
|
||||
public void Activate(SupportPower p)
|
||||
{
|
||||
// if this was a real power, i'd do something here!
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user