public GameplayModel(final Gameplay gameplay) { this.id = gameplay.getId(); this.mapName = "images/" + gameplay.getMapName() + ".png"; }