Flesh out guided-dock concept; regress on animation continuity in RA mod

This commit is contained in:
Paul Chote
2010-02-01 11:50:12 +13:00
parent 249c56d82f
commit d6f0839a1a
7 changed files with 47 additions and 28 deletions

View File

@@ -3,6 +3,7 @@ using System.Drawing;
using IjwFramework.Types;
using OpenRa.GameRules;
using OpenRa.Graphics;
using OpenRa.Traits.Activities;
namespace OpenRa.Traits
{
@@ -21,7 +22,11 @@ namespace OpenRa.Traits
public interface INotifyDamage { void Damaged(Actor self, AttackInfo e); }
public interface INotifyBuildComplete { void BuildingComplete(Actor self); }
public interface INotifyProduction { void UnitProduced(Actor self, Actor other); }
public interface IAcceptOre { void OnDock(Actor harv); }
public interface IAcceptOre
{
void OnDock(Actor harv, DeliverOre dockOrder);
int2 DeliverOffset { get; }
}
public interface IAcceptThief { void OnSteal(Actor self, Actor thief); }
public interface IAcceptSpy { void OnInfiltrate(Actor self, Actor spy); }