Initial GpsSatellite support

This commit is contained in:
Paul Chote
2010-01-08 19:35:43 +13:00
parent b570f3c9a7
commit b332785d2e
4 changed files with 38 additions and 1 deletions

View File

@@ -0,0 +1,22 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace OpenRa.Game.Traits
{
class GpsSatellite
{
public GpsSatellite(Actor self)
{
// TODO: connect this to a special power that calls Activate();
Activate(self);
}
public void Activate(Actor self)
{
// TODO: Launch satellite
self.Owner.Shroud.RevealAll();
}
}
}