Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import com.badlogic.gdx.Gdx;
- import com.badlogic.gdx.graphics.g2d.SpriteBatch;
- public abstract class GameObjekt {
- int width = Gdx.graphics.getWidth();
- int height = Gdx.graphics.getHeight();
- public int getHeight() {
- return height;
- }
- public int getWidth() {
- return width;
- }
- public abstract void load();
- public abstract void update(float delta);
- public abstract void render(SpriteBatch batch);
- public abstract void dispose();
- }
Add Comment
Please, Sign In to add comment