Skip to content

Equals method for Unit #22

Description

@axgdev

Hi!

First of all thanks for the hard work put into this game! It has been very useful for my research

I have faced the problem that if I were to look for example a Unit in a map, there is a lack of an equals method that helps me to find this unit. There are workarounds like using the UnitID, or by using a wrapper class over the Unit that has an equals method, but I think the most ideal solution is to have an equals method directly in the code.

Do you think this makes sense?

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

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions