public GameView(SpriteBatch spriteBatch, Camera camera, GameModel model) { this.spriteBatch = spriteBatch; this.camera = camera; this.gModel = model; bgView = new BackgroundView(camera.getScaleXY()); }
public GameController(SpriteBatch spriteBatch, ContentManager content, Viewport viewport, MasterController game) { this.spriteBatch = spriteBatch; this.viewport = viewport; this.game = game; this.content = content; this.camera = new Camera(viewport); InitateGame(); InitatePauseMenu(); }