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

GameObject.Game #1

Open
JacobFischer opened this issue Nov 6, 2015 · 1 comment
Open

GameObject.Game #1

JacobFischer opened this issue Nov 6, 2015 · 1 comment
Assignees

Comments

@JacobFischer
Copy link
Member

JacobFischer commented Nov 6, 2015

Game objects currently have no reference to the game they are in, and they may need it for client-side logic.

A reference to the base game is not enough, as then they will need to cast it every time, which is annoying.

Instead Creer should, in the GameObject for each game it generates, create a game property that is of the type of the game it is generating. It should then be hooked up probably via BaseGameObject logic. A little hackish, but gets us the best results for AIs.

@TehPers
Copy link
Contributor

TehPers commented Oct 2, 2017

Wow, this issue has been ignored for quite some time! I'll take a look at this and see what I can do.

@TehPers TehPers self-assigned this Oct 2, 2017
ZachWileman pushed a commit that referenced this issue Nov 11, 2017
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

2 participants