Skip to content

GameObject.game #1

Description

@JacobFischer

Game objects currently have no reference to the game they are in, and they may need it for server-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.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions