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

Entity children need to call entity constructors #16

Open
jstamant opened this issue Sep 19, 2016 · 0 comments
Open

Entity children need to call entity constructors #16

jstamant opened this issue Sep 19, 2016 · 0 comments

Comments

@jstamant
Copy link
Owner

jstamant commented Sep 19, 2016

Due to time constraints, I didn't figure out how to make the children of Entity call the non-default constructor of Entity.

ex: When I call Character character(0, 100), I want the character object to use Entity's Entity(int, int) constructor. Right now, it isn't, and I've taken the code from Entity(int, int) and placed it in all the other children. Inefficient, and prone to error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant