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

pass netscheme on GameObject constructor #80

Open
namel opened this issue May 9, 2018 · 0 comments
Open

pass netscheme on GameObject constructor #80

namel opened this issue May 9, 2018 · 0 comments

Comments

@namel
Copy link
Member

namel commented May 9, 2018

On the GameObject and its immediate sub-classes.

either:

  1. modify the constructor such that the third argument is netscheme. If this design is chosen, then make it clear that CLASSes in the netscheme must support the copy() method

or:
2. sub-classes must implement a setNetscheme() method which should always be called immediately after the constructor.

in both cases, make it clear that the constructor cannot be over-ridden by sub-classes.

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

1 participant