Portrait
Namespace: Murder.Core
Assembly: Murder.dll
public sealed struct Portrait : IEquatable<T>
Implements: IEquatable<T>
⭐ Constructors
public Portrait()
public Portrait(Guid aseprite, string animationId)
Parameters
aseprite
Guid
animationId
string
⭐ Properties
AnimationId
public readonly string AnimationId;
Returns
string
HasImage
public bool HasImage { get; }
Returns
bool
HasValue
public bool HasValue { get; }
Returns
bool
Sprite
public readonly Guid Sprite;
Returns
Guid
⭐ Methods
WithAnimationId(string)
public Portrait WithAnimationId(string animationId)
Parameters
animationId
string
Returns
Portrait
Equals(Portrait)
public virtual bool Equals(Portrait other)
Parameters
other
Portrait
Returns
bool
⚡