Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move EntityReference.IsAlive to World #188

Conversation

metalgearsloth
Copy link
Contributor

Resolves #187

IMO this is better due to the aforementioned issue as it doesn't really feel like ECS. Not sure if the preference is to Obsolete the old one or just remove it.

@@ -293,24 +293,7 @@ public EntityReference()
Version = -1;
}

#if PURE_ECS
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could we keep this one, and just change the implementation to World.IsAlive(this)? Would be more convenient.

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Kept :)

@genaray
Copy link
Owner

genaray commented Feb 8, 2024

210f528
Introduces this. However i kept the EntityReference.IsAlive() aswell for backwards compatibility. Might remove that one later.

@genaray genaray closed this Feb 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

World should have an IsAlive for EntityReference
3 participants