Add copy/paste to the map editor.

This commit is contained in:
Paul Chote
2015-11-04 19:45:20 +00:00
parent 1c06297ff7
commit a081321790
15 changed files with 348 additions and 13 deletions

View File

@@ -161,5 +161,10 @@ namespace OpenRA.Mods.Common.Traits
.SelectMany(rpi => rpi.RenderPreview(init))
.ToArray();
}
public ActorReference Export()
{
return new ActorReference(actor.Type, actor.Save().ToDictionary());
}
}
}