Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make Crate trait public. #16632

Merged
merged 1 commit into from
Jun 2, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions OpenRA.Mods.Common/Traits/Crates/Crate.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

namespace OpenRA.Mods.Common.Traits
{
class CrateInfo : ITraitInfo, IPositionableInfo, Requires<RenderSpritesInfo>
public class CrateInfo : ITraitInfo, IPositionableInfo, Requires<RenderSpritesInfo>
{
[Desc("Length of time (in seconds) until the crate gets removed automatically. " +
"A value of zero disables auto-removal.")]
Expand Down Expand Up @@ -72,7 +72,7 @@ public SubCell GetAvailableSubCell(World world, CPos cell, Actor ignoreActor = n
}
}

class Crate : ITick, IPositionable, ICrushable, ISync,
public class Crate : ITick, IPositionable, ICrushable, ISync,
INotifyParachute, INotifyAddedToWorld, INotifyRemovedFromWorld, INotifyCrushed
{
readonly Actor self;
Expand Down