-
Notifications
You must be signed in to change notification settings - Fork 350
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Resource Interface so client plugins can figure out the base reso…
…urce (#934) * Add Resource Interface so client plugins can figure out the base resource * Expose IsDead as IsDepleted for resources, remove setter from BaseResource on IResource
- Loading branch information
1 parent
6c25384
commit d39d457
Showing
4 changed files
with
19 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
using Intersect.GameObjects; | ||
|
||
namespace Intersect.Client.Framework.Entities | ||
{ | ||
public interface IResource : IEntity | ||
{ | ||
ResourceBase BaseResource { get; } | ||
|
||
bool IsDepleted { get; } | ||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters