Commit 4637363d authored by Tor Martin Frøberg Wang's avatar Tor Martin Frøberg Wang
Browse files

Font now scales according to device width. Fixed other minor issues as well. Completes issue #102

parent e890cdd1
......@@ -45,4 +45,8 @@ public class SlicingCircle extends Sprite {
public boolean isDisposable(){
return this.width <= 0;
}
public Vector3 getPosition(){
return this.position;
}
}
package com.gameware.game.sprites;
package com.gameware.game.sprites.PauseStateSprites;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.graphics.Texture;
import com.badlogic.gdx.graphics.g2d.SpriteBatch;
import com.badlogic.gdx.math.Vector3;
import com.gameware.game.sprites.Sprite;
public class ConfirmationBox extends Sprite {
private Texture boxTexture;
......
package com.gameware.game.sprites;
package com.gameware.game.sprites.PauseStateSprites;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.graphics.Color;
import com.badlogic.gdx.graphics.g2d.SpriteBatch;
import com.badlogic.gdx.graphics.glutils.ShapeRenderer;
import com.badlogic.gdx.math.Vector3;
import com.gameware.game.sprites.Sprite;
public class PauseCircle extends Sprite {
private int radius;
......
package com.gameware.game.sprites;
package com.gameware.game.sprites.PauseStateSprites;
import com.badlogic.gdx.graphics.Texture;
import com.badlogic.gdx.graphics.g2d.SpriteBatch;
import com.badlogic.gdx.math.Vector3;
import com.gameware.game.sprites.Sprite;
public class PauseMenuButton extends Sprite {
private Texture buttonTexture;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment