b0n541 / jskat

JSkat is a free software implementation of the game Skat in Java.

Home Page:https://www.jskat.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add equals() and hashCode() to all game move classes

b0n541 opened this issue · comments

All classes that implement the interface org.jskat.control.event.skatgame.SkatGameEvent should have proper implementations for equals() and hashCode(). This makes it easier to use those classes in unit tests.

See org.jskat.control.event.skatgame.TrickCardPlayedEvent and it's use for an example.