This repository has been archived on 2022-10-01. You can view files and clone it, but cannot push or open issues or pull requests.
EEEEEEEEEEEEEEEAAAAAAAAAA-A.../core/src/com/game/States/Play.java

44 lines
657 B
Java

package com.game.States;
import com.badlogic.gdx.graphics.Texture;
/**
* Created by Ash on 08/02/2016.
*/
public class Play extends State {
Texture img;
public Play(StateManager sm) {
super(sm);
}
@Override
public void init() {
img = new Texture("badlogic.jpg");
}
@Override
public void update(float dt) {
}
@Override
public void render() {
sb.setProjectionMatrix(cam.combined);
sb.begin();
sb.draw(img, 0, 0);
sb.end();
}
@Override
public void handleInput() {
}
@Override
public void dispose() {
img.dispose();
}
}