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

Problems instancing Entity #12

Open
Lokidottir opened this issue Nov 4, 2015 · 2 comments
Open

Problems instancing Entity #12

Lokidottir opened this issue Nov 4, 2015 · 2 comments

Comments

@Lokidottir
Copy link

Hi

So I've needed to instance the Entity typeclass so that I could add some data for use during collisions, but the entityPtr method, for which I intended to just use Shape's, is a hidden method making it impossible to implement. I'm hoping there's a workaround to this?

@meteficha
Copy link
Owner

You're not meant to have your own instances of the Entity typeclass.

@Lokidottir
Copy link
Author

I understand, there wasn't any obvious way of distinguishing what object is what during collisions though. Remedied it by using the group field to hold my UUIDs.

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

No branches or pull requests

2 participants