/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package view; import com.badlogic.gdx.Game; import com.badlogic.gdx.Gdx; import com.badlogic.gdx.Input; import com.badlogic.gdx.files.FileHandle; import com.badlogic.gdx.graphics.Color; import com.badlogic.gdx.graphics.GL20; import com.badlogic.gdx.graphics.Texture; import com.badlogic.gdx.graphics.g2d.BitmapFont; import com.badlogic.gdx.graphics.g2d.GlyphLayout; import com.badlogic.gdx.graphics.g2d.Sprite; import com.badlogic.gdx.graphics.g2d.SpriteBatch; import com.badlogic.gdx.graphics.g2d.freetype.FreeTypeFontGenerator; import com.badlogic.gdx.graphics.glutils.ShapeRenderer; import com.badlogic.gdx.math.Intersector; import com.badlogic.gdx.math.Matrix4; import com.badlogic.gdx.math.Rectangle; import com.badlogic.gdx.utils.Timer; import java.util.ArrayList; import model.Button; import model.Goal; import model.Level; import model.Projectile; /** * * @author Jan */ public class Levelscreen{ float GAME_WORLD_WIDTH; float GAME_WORLD_HEIGHT; // SPRITES LEFT-RIGHT Sprite buttonRight; Sprite buttonLeft; boolean movement; // VARIABLES int selectedLevel; int levelAmount; // SHAPE RENDERER ShapeRenderer shapeRenderer; // BUTTONS ArrayList