Merge pull request #1033 from SheepGoMeh/dead-check

Add IsDead boolean property to Character
This commit is contained in:
goat 2022-11-14 14:04:30 +01:00 committed by GitHub
commit a4783154b7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -134,6 +134,11 @@ public unsafe partial class GameObject
/// </summary>
public byte YalmDistanceZ => this.Struct->YalmDistanceFromPlayerZ;
/// <summary>
/// Gets a value indicating whether the object is dead or alive.
/// </summary>
public bool IsDead => this.Struct->IsDead();
/// <summary>
/// Gets the position of this <see cref="GameObject" />.
/// </summary>