package de.jakobhaubold.tools.unierlangentechfak;

import java.util.ArrayList;

public class DModel {

    public static ArrayList<DItem> DItems;

    public static void LoadModel() {

        DItems = new ArrayList<DItem>();
    
        DItems.add(new DItem(1, "d.png", "Sultan Döner","Hauptstraße 15, 91054 Erlangen"));

        DItems.add(new DItem(2, "d.png", "Balkan Döner","Bunsenstraße, 91058 Erlangen"));

        DItems.add(new DItem(3, "d.png", "Cantine Erlangen","Bunsenstraße 41, 91058 Erlangen"));

        DItems.add(new DItem(4, "d.png", "Adana Döner","Martin-Luther-Platz 2, 91054 Erlangen"));

        DItems.add(new DItem(5, "d.png", "Pascha Döner","Nürnberger Straße 33, 91052 Erlangen"));

        DItems.add(new DItem(6, "d.png", "Avrasya Restaurant","Hauptstraße 75, 91054 Erlangen"));

        DItems.add(new DItem(7, "d.png", "Efendi","Nürnberger Str. 7, Arcaden EG, 91052 Erlangen"));

        DItems.add(new DItem(8, "d.png", "Pizz'a Pizz' - Kleopatra","Hauptstr. 15, 91054 Erlangen"));

        DItems.add(new DItem(9, "d.png", "Orient Döner","Hauptstraße 15, 91054 Erlangen"));

        DItems.add(new DItem(10, "d.png", "Real Adana","Martin-Luther-Platz 2, 91054 Erlangen"));

        DItems.add(new DItem(11, "d.png", "Araz Pizza & Döner","Hauptstraße 107, 91054 Erlangen"));

        DItems.add(new DItem(12, "d.png", "Dönerhaus","Drausnickstraße 36, 91052 Erlangen"));

        DItems.add(new DItem(13, "d.png", "Dönerking Coekpinar Celal","Krankenhausstr. 3, 91054 Erlangen"));

        DItems.add(new DItem(14, "d.png", "Döner King","Untere Karlstr. 3, 91054 Erlangen "));

        DItems.add(new DItem(15, "d.png", "Cesme","Goethestr. 60, 91054 Erlangen "));

        DItems.add(new DItem(16, "d.png", "Orient Döner","Rathausplatz 5, 91052 Erlangen "));

       

    }

    public static DItem GetbyId(int id){

        for(DItem Ditem : DItems) {
            if (Ditem.Id == id) {
                return Ditem;
            }
        }
        return null;
    }

}