You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: