-
-
Notifications
You must be signed in to change notification settings - Fork 433
Expand file tree
/
Copy pathIAutomatable.cs
More file actions
17 lines (14 loc) · 620 Bytes
/
IAutomatable.cs
File metadata and controls
17 lines (14 loc) · 620 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
using Microsoft.Xna.Framework;
using StardewValley;
namespace Pathoschild.Stardew.Automate;
/// <summary>An automatable entity, which can implement a more specific type like <see cref="IMachine"/> or <see cref="IContainer"/>. If it doesn't implement a more specific type, it's treated as a connector with no additional logic.</summary>
public interface IAutomatable
{
/*********
** Accessors
*********/
/// <summary>The location which contains the machine.</summary>
GameLocation Location { get; }
/// <summary>The tile area covered by the machine.</summary>
Rectangle TileArea { get; }
}