MVC Struktur einführt

master
GammelJan 6 years ago
parent e7874ef8db
commit 99d22fa701

@ -3,9 +3,9 @@
* To change this template file, choose Tools | Templates * To change this template file, choose Tools | Templates
* and open the template in the editor. * and open the template in the editor.
*/ */
package com.dungeoncrawler; package com.dungeoncrawler.model;
import com.dungeoncrawler.entities.Player; import com.dungeoncrawler.model.entities.Player;
/** /**
* *

@ -1,4 +1,4 @@
package com.dungeoncrawler; package com.dungeoncrawler.model;
public abstract class Entity { public abstract class Entity {

@ -1,4 +1,4 @@
package com.dungeoncrawler; package com.dungeoncrawler.model;
public class Inventory { public class Inventory {

@ -3,7 +3,7 @@
* To change this template file, choose Tools | Templates * To change this template file, choose Tools | Templates
* and open the template in the editor. * and open the template in the editor.
*/ */
package com.dungeoncrawler; package com.dungeoncrawler.model;
/** /**
* *

@ -3,9 +3,7 @@
* To change this template file, choose Tools | Templates * To change this template file, choose Tools | Templates
* and open the template in the editor. * and open the template in the editor.
*/ */
package com.dungeoncrawler; package com.dungeoncrawler.model;
import com.dungeoncrawler.items.*;
/** /**
* *
* @author jonathan * @author jonathan

@ -3,7 +3,7 @@
* To change this template file, choose Tools | Templates * To change this template file, choose Tools | Templates
* and open the template in the editor. * and open the template in the editor.
*/ */
package com.dungeoncrawler; package com.dungeoncrawler.model;
/** /**
* *

@ -3,9 +3,9 @@
* To change this template file, choose Tools | Templates * To change this template file, choose Tools | Templates
* and open the template in the editor. * and open the template in the editor.
*/ */
package com.dungeoncrawler; package com.dungeoncrawler.model;
import com.dungeoncrawler.entities.*; import com.dungeoncrawler.model.Entity;
/** /**
* *

@ -1,5 +1,5 @@
package com.dungeoncrawler.entities; package com.dungeoncrawler.model.entities;
import com.dungeoncrawler.Entity; import com.dungeoncrawler.model.Entity;
public class Archer extends Entity{ public class Archer extends Entity{

@ -3,10 +3,10 @@
* To change this template file, choose Tools | Templates * To change this template file, choose Tools | Templates
* and open the template in the editor. * and open the template in the editor.
*/ */
package com.dungeoncrawler.entities; package com.dungeoncrawler.model.entities;
import com.dungeoncrawler.Entity; import com.dungeoncrawler.model.Entity;
/** /**
* *
* @author Jan * @author Jan

@ -3,9 +3,9 @@
* To change this template file, choose Tools | Templates * To change this template file, choose Tools | Templates
* and open the template in the editor. * and open the template in the editor.
*/ */
package com.dungeoncrawler.entities; package com.dungeoncrawler.model.entities;
import com.dungeoncrawler.Entity; import com.dungeoncrawler.model.Entity;
/** /**
* *

@ -3,9 +3,9 @@
* To change this template file, choose Tools | Templates * To change this template file, choose Tools | Templates
* and open the template in the editor. * and open the template in the editor.
*/ */
package com.dungeoncrawler.items; package com.dungeoncrawler.model.items;
import com.dungeoncrawler.Item; import com.dungeoncrawler.model.Item;
/** /**
* *

@ -3,9 +3,9 @@
* To change this template file, choose Tools | Templates * To change this template file, choose Tools | Templates
* and open the template in the editor. * and open the template in the editor.
*/ */
package com.dungeoncrawler.items; package com.dungeoncrawler.model.items;
import com.dungeoncrawler.Item; import com.dungeoncrawler.model.Item;
/** /**
* *

@ -3,9 +3,9 @@
* To change this template file, choose Tools | Templates * To change this template file, choose Tools | Templates
* and open the template in the editor. * and open the template in the editor.
*/ */
package com.dungeoncrawler.items; package com.dungeoncrawler.model.items;
import com.dungeoncrawler.Item; import com.dungeoncrawler.model.Item;
/** /**
* *

@ -1,4 +1,4 @@
package com.dungeoncrawler; package com.dungeoncrawler.view;
import com.badlogic.gdx.ApplicationAdapter; import com.badlogic.gdx.ApplicationAdapter;
import com.badlogic.gdx.Gdx; import com.badlogic.gdx.Gdx;
@ -6,7 +6,7 @@ import com.badlogic.gdx.graphics.GL20;
import com.badlogic.gdx.graphics.Texture; import com.badlogic.gdx.graphics.Texture;
import com.badlogic.gdx.graphics.g2d.SpriteBatch; import com.badlogic.gdx.graphics.g2d.SpriteBatch;
public class Grafik extends ApplicationAdapter { public class View extends ApplicationAdapter {
SpriteBatch batch; SpriteBatch batch;
Texture img; Texture img;
Loading…
Cancel
Save