class LockedGame implements Game {

    public static boolean equals(Game game1, Game game2) {
        if (game1 instanceof LockedGame) {
            game1 = ((LockedGame)game1).getWrapped();
        }
        if (game2 instanceof LockedGame) {
            game2 = ((LockedGame)game2).getWrapped();
        }
        return game1 == game2;
    }

    public  LockedGame(ReadWriteLock lock);

}