fix: some comments
This commit is contained in:
parent
a8e400d22d
commit
93f89c3e64
|
@ -3,9 +3,7 @@ package sagittarius;
|
|||
import com.badlogic.gdx.Game;
|
||||
import com.badlogic.gdx.Gdx;
|
||||
import com.kotcrab.vis.ui.VisUI;
|
||||
import com.badlogic.gdx.audio.Sound;
|
||||
import com.badlogic.gdx.audio.Music;
|
||||
import com.badlogic.gdx.files.*;
|
||||
import sagittarius.view.*;
|
||||
|
||||
public class SagittariusGame extends Game {
|
||||
|
@ -31,15 +29,18 @@ public class SagittariusGame extends Game {
|
|||
@Override
|
||||
public void create() {
|
||||
|
||||
/* A welcome music is played */
|
||||
// A welcome music is played
|
||||
music = Gdx.audio.newMusic(Gdx.files.internal("core/assets/sounds/Ghostrifter-Deflector.mp3"));
|
||||
music.play();
|
||||
|
||||
// Default volume
|
||||
music.setVolume(0.3f);
|
||||
|
||||
// We load the VisUI library
|
||||
VisUI.load();
|
||||
game.setScreen(new SettingsScreen());
|
||||
|
||||
// we set the Screen to the main menu
|
||||
game.setScreen(new StartScreen());
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -1,13 +1,11 @@
|
|||
package sagittarius.view;
|
||||
|
||||
import com.badlogic.gdx.Gdx;
|
||||
import com.badlogic.gdx.graphics.Color;
|
||||
import com.badlogic.gdx.scenes.scene2d.InputEvent;
|
||||
import com.badlogic.gdx.scenes.scene2d.utils.ActorGestureListener;
|
||||
import com.badlogic.gdx.utils.Align;
|
||||
import com.kotcrab.vis.ui.VisUI;
|
||||
import com.kotcrab.vis.ui.widget.VisCheckBox;
|
||||
import com.kotcrab.vis.ui.widget.VisLabel;
|
||||
import com.kotcrab.vis.ui.widget.VisTable;
|
||||
import com.kotcrab.vis.ui.widget.VisTextButton;
|
||||
import com.kotcrab.vis.ui.widget.spinner.SimpleFloatSpinnerModel;
|
||||
|
|
Loading…
Reference in a new issue