-
Notifications
You must be signed in to change notification settings - Fork 0
/
Main.java
41 lines (33 loc) · 945 Bytes
/
Main.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
37
38
39
40
41
package ru.erked.beelife;
import com.badlogic.gdx.Game;
import com.badlogic.gdx.Preferences;
import com.badlogic.gdx.graphics.g2d.TextureAtlas;
import com.badlogic.gdx.utils.I18NBundle;
import ru.erked.beelife.screens.Preview;
import ru.erked.beelife.utils.Fonts;
import ru.erked.beelife.utils.Sounds;
public class Main extends Game {
public int lang;
public TextureAtlas atlas;
public Sounds sounds;
public Fonts fonts;
public Preferences prefs;
public I18NBundle bundle;
public float w;
public float h;
public static float METER;
public int level;
public boolean is_dev_mode;
/* Values to memorise */
public boolean is_sound = true;
public boolean is_music = true;
public float music_volume = 1f; // From 0f to 1f
public float sound_volume = 1f; // From 0f to 1f
public Main(int lang) { this.lang = lang; }
@Override
public void create () {
setScreen(new Preview(this));
}
@Override
public void dispose () {}
}