-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathE.java
36 lines (31 loc) · 1.02 KB
/
E.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
package com.vyorkin.engine;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.assets.AssetManager;
import com.badlogic.gdx.graphics.g2d.BitmapFont;
import com.badlogic.gdx.graphics.g2d.SpriteBatch;
import com.vyorkin.engine.services.LocaleManager;
import com.vyorkin.engine.services.MusicManager;
import com.vyorkin.engine.services.PreferencesManager;
import com.vyorkin.engine.services.SoundManager;
public class E {
public static PreferencesManager preferences;
public static LocaleManager locales;
public static SoundManager sounds;
public static MusicManager music;
public static AssetManager assets;
public static SpriteBatch batch;
public static GameSettings settings;
public static BitmapFont font;
public static void log(String text) {
Gdx.app.log(settings.log, text);
}
public static void log(String text, Object... args) {
log(String.format(text, args));
}
public static void dispose() {
music.dispose();
font.dispose();
batch.dispose();
assets.dispose();
}
}