Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package com.reed.birdseye;
- import com.badlogic.gdx.Game;
- import com.badlogic.gdx.Gdx;
- import com.badlogic.gdx.Preferences;
- import com.badlogic.gdx.files.FileHandle;
- import com.reed.birdseye.GameScreen;
- public class BirdsEye extends Game {
- Preferences prefs;
- @Override
- public void create () {
- prefs = Gdx.app.getPreferences("LodeScapePrefs");
- Time.setTimeOfDay(prefs.getFloat("Time.getTimeOfDay()"));
- Assets.load();
- setScreen(new GameScreen(this));
- }
- public void render() {
- super.render();
- }
- public void dispose () {
- prefs.putFloat("Time", Time.getTimeOfDay());
- super.dispose();
- }
- public void resize(int width, int height) {
- }
- public void pause() {
- }
- public void resume() {
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement