Make StoresResources trait public

This commit is contained in:
Evgeniy S
2019-05-23 14:29:30 +03:00
committed by abcdefg30
parent 9fc8b829e4
commit fbf9461890

View File

@@ -17,7 +17,7 @@ using OpenRA.Traits;
namespace OpenRA.Mods.Common.Traits
{
[Desc("Adds capacity to a player's harvested resource limit.")]
class StoresResourcesInfo : ITraitInfo
public class StoresResourcesInfo : ITraitInfo
{
[FieldLoader.Require]
public readonly int Capacity = 0;
@@ -31,7 +31,7 @@ namespace OpenRA.Mods.Common.Traits
public object Create(ActorInitializer init) { return new StoresResources(init.Self, this); }
}
class StoresResources : IPips, INotifyOwnerChanged, INotifyCapture, IStoreResources, ISync, INotifyKilled
public class StoresResources : IPips, INotifyOwnerChanged, INotifyCapture, IStoreResources, ISync, INotifyKilled
{
readonly StoresResourcesInfo info;
PlayerResources player;