added hashcode to GameElement