Used to determine if your creature is capable of eating depending
on the creature's current energy state. You can also trap the
AlreadyFullException from BeginEating.
Namespace: Terrarium.Sdk.Classes.CreatureAssembly: Terrarium.Sdk (in Terrarium.Sdk.dll) Version: 1.1.0.0 (1.1.0.0)
Syntaxpublic bool CanEat { get; }
Public ReadOnly Property CanEat As Boolean
Get
public:
property bool CanEat {
bool get ();
}
member CanEat : bool with get
Return Value
Type:
Boolean
True if your creature is hungry enough to eat, False otherwise.
See Also