Rename package name to dev.lonami.klooni
This commit is contained in:
parent
d9ea38b39c
commit
4fd28f3c14
45 changed files with 146 additions and 146 deletions
|
@ -2,7 +2,7 @@ Klooni 1010!
|
|||
============
|
||||
Play 1010! for free! Add your own themes! Contribute! Make the game yours!
|
||||
|
||||
[<img src="https://f-droid.org/badge/get-it-on.png" alt="Get it on F-Droid" height="80">](https://f-droid.org/app/io.github.lonamiwebs.klooni)
|
||||
[<img src="https://f-droid.org/badge/get-it-on.png" alt="Get it on F-Droid" height="80">](https://f-droid.org/app/dev.lonami.klooni)
|
||||
|
||||
This project is licensed under [GPLv3+](LICENSE).
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="io.github.lonamiwebs.klooni"
|
||||
package="dev.lonami.klooni"
|
||||
android:versionCode="1"
|
||||
android:versionName="1.0" >
|
||||
|
||||
|
@ -12,7 +12,7 @@
|
|||
android:label="@string/app_name"
|
||||
android:theme="@style/GdxTheme" >
|
||||
<activity
|
||||
android:name="io.github.lonamiwebs.klooni.AndroidLauncher"
|
||||
android:name="dev.lonami.klooni.AndroidLauncher"
|
||||
android:label="@string/app_name"
|
||||
android:screenOrientation="portrait"
|
||||
android:configChanges="keyboard|keyboardHidden|orientation|screenSize">
|
||||
|
|
|
@ -18,7 +18,7 @@ android {
|
|||
exclude 'META-INF/robovm/ios/robovm.xml'
|
||||
}
|
||||
defaultConfig {
|
||||
applicationId "io.github.lonamiwebs.klooni"
|
||||
applicationId "dev.lonami.klooni"
|
||||
minSdkVersion 8
|
||||
targetSdkVersion 25
|
||||
|
||||
|
@ -74,7 +74,7 @@ task run(type: Exec) {
|
|||
}
|
||||
|
||||
def adb = path + "/platform-tools/adb"
|
||||
commandLine "$adb", 'shell', 'am', 'start', '-n', 'io.github.lonamiwebs.klooni/io.github.lonamiwebs.klooni.AndroidLauncher'
|
||||
commandLine "$adb", 'shell', 'am', 'start', '-n', 'dev.lonami.klooni/dev.lonami.klooni.AndroidLauncher'
|
||||
}
|
||||
|
||||
// sets up the Android Eclipse project, using the old Ant based build.
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
package io.github.lonamiwebs.klooni;
|
||||
package dev.lonami.klooni;
|
||||
|
||||
import android.os.Bundle;
|
||||
|
|
@ -15,7 +15,7 @@
|
|||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
package io.github.lonamiwebs.klooni;
|
||||
package dev.lonami.klooni;
|
||||
|
||||
|
||||
import android.content.Context;
|
|
@ -15,7 +15,7 @@
|
|||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
package io.github.lonamiwebs.klooni;
|
||||
package dev.lonami.klooni;
|
||||
|
||||
import com.badlogic.gdx.Application;
|
||||
import com.badlogic.gdx.Game;
|
||||
|
@ -30,14 +30,14 @@ import com.badlogic.gdx.scenes.scene2d.ui.Skin;
|
|||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
import io.github.lonamiwebs.klooni.effects.EvaporateEffectFactory;
|
||||
import io.github.lonamiwebs.klooni.effects.ExplodeEffectFactory;
|
||||
import io.github.lonamiwebs.klooni.effects.SpinEffectFactory;
|
||||
import io.github.lonamiwebs.klooni.effects.VanishEffectFatory;
|
||||
import io.github.lonamiwebs.klooni.effects.WaterdropEffectFactory;
|
||||
import io.github.lonamiwebs.klooni.interfaces.IEffectFactory;
|
||||
import io.github.lonamiwebs.klooni.screens.MainMenuScreen;
|
||||
import io.github.lonamiwebs.klooni.screens.TransitionScreen;
|
||||
import dev.lonami.klooni.effects.EvaporateEffectFactory;
|
||||
import dev.lonami.klooni.effects.ExplodeEffectFactory;
|
||||
import dev.lonami.klooni.effects.SpinEffectFactory;
|
||||
import dev.lonami.klooni.effects.VanishEffectFatory;
|
||||
import dev.lonami.klooni.effects.WaterdropEffectFactory;
|
||||
import dev.lonami.klooni.interfaces.IEffectFactory;
|
||||
import dev.lonami.klooni.screens.MainMenuScreen;
|
||||
import dev.lonami.klooni.screens.TransitionScreen;
|
||||
|
||||
public class Klooni extends Game {
|
||||
|
||||
|
@ -81,7 +81,7 @@ public class Klooni extends Game {
|
|||
@Override
|
||||
public void create() {
|
||||
onDesktop = Gdx.app.getType().equals(Application.ApplicationType.Desktop);
|
||||
prefs = Gdx.app.getPreferences("io.github.lonamiwebs.klooni.game");
|
||||
prefs = Gdx.app.getPreferences("dev.lonami.klooni.game");
|
||||
|
||||
// Load the best match for the skin (depending on the device screen dimensions)
|
||||
skin = SkinLoader.loadSkin();
|
|
@ -15,7 +15,7 @@
|
|||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
package io.github.lonamiwebs.klooni;
|
||||
package dev.lonami.klooni;
|
||||
|
||||
import com.badlogic.gdx.Gdx;
|
||||
import com.badlogic.gdx.files.FileHandle;
|
|
@ -15,7 +15,7 @@
|
|||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
package io.github.lonamiwebs.klooni;
|
||||
package dev.lonami.klooni;
|
||||
|
||||
import com.badlogic.gdx.Gdx;
|
||||
import com.badlogic.gdx.graphics.Texture;
|
|
@ -15,7 +15,7 @@
|
|||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
package io.github.lonamiwebs.klooni;
|
||||
package dev.lonami.klooni;
|
||||
|
||||
import com.badlogic.gdx.Gdx;
|
||||
import com.badlogic.gdx.files.FileHandle;
|
|
@ -15,7 +15,7 @@
|
|||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
package io.github.lonamiwebs.klooni.actors;
|
||||
package dev.lonami.klooni.actors;
|
||||
|
||||
import com.badlogic.gdx.graphics.Texture;
|
||||
import com.badlogic.gdx.graphics.g2d.Batch;
|
||||
|
@ -25,10 +25,10 @@ import com.badlogic.gdx.scenes.scene2d.Actor;
|
|||
import com.badlogic.gdx.scenes.scene2d.ui.Label;
|
||||
import com.badlogic.gdx.utils.Align;
|
||||
|
||||
import io.github.lonamiwebs.klooni.Klooni;
|
||||
import io.github.lonamiwebs.klooni.Theme;
|
||||
import io.github.lonamiwebs.klooni.game.BaseScorer;
|
||||
import io.github.lonamiwebs.klooni.game.GameLayout;
|
||||
import dev.lonami.klooni.Klooni;
|
||||
import dev.lonami.klooni.Theme;
|
||||
import dev.lonami.klooni.game.BaseScorer;
|
||||
import dev.lonami.klooni.game.GameLayout;
|
||||
|
||||
// Horizontal band, used to show the score on the pause menu
|
||||
public class Band extends Actor {
|
|
@ -15,18 +15,18 @@
|
|||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
package io.github.lonamiwebs.klooni.actors;
|
||||
package dev.lonami.klooni.actors;
|
||||
|
||||
import com.badlogic.gdx.graphics.Texture;
|
||||
import com.badlogic.gdx.graphics.g2d.Batch;
|
||||
import com.badlogic.gdx.math.Rectangle;
|
||||
|
||||
import io.github.lonamiwebs.klooni.Klooni;
|
||||
import io.github.lonamiwebs.klooni.Theme;
|
||||
import io.github.lonamiwebs.klooni.game.Board;
|
||||
import io.github.lonamiwebs.klooni.game.GameLayout;
|
||||
import io.github.lonamiwebs.klooni.game.Piece;
|
||||
import io.github.lonamiwebs.klooni.interfaces.IEffectFactory;
|
||||
import dev.lonami.klooni.Klooni;
|
||||
import dev.lonami.klooni.Theme;
|
||||
import dev.lonami.klooni.game.Board;
|
||||
import dev.lonami.klooni.game.GameLayout;
|
||||
import dev.lonami.klooni.game.Piece;
|
||||
import dev.lonami.klooni.interfaces.IEffectFactory;
|
||||
|
||||
// Card-like actor used to display information about a given theme
|
||||
public class EffectCard extends ShopCard {
|
|
@ -15,7 +15,7 @@
|
|||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
package io.github.lonamiwebs.klooni.actors;
|
||||
package dev.lonami.klooni.actors;
|
||||
|
||||
import com.badlogic.gdx.graphics.g2d.Batch;
|
||||
import com.badlogic.gdx.graphics.g2d.TextureRegion;
|
||||
|
@ -27,8 +27,8 @@ import com.badlogic.gdx.scenes.scene2d.utils.TextureRegionDrawable;
|
|||
import com.badlogic.gdx.utils.Align;
|
||||
import com.badlogic.gdx.utils.TimeUtils;
|
||||
|
||||
import io.github.lonamiwebs.klooni.Klooni;
|
||||
import io.github.lonamiwebs.klooni.Theme;
|
||||
import dev.lonami.klooni.Klooni;
|
||||
import dev.lonami.klooni.Theme;
|
||||
|
||||
public class MoneyBuyBand extends Table {
|
||||
|
|
@ -15,7 +15,7 @@
|
|||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
package io.github.lonamiwebs.klooni.actors;
|
||||
package dev.lonami.klooni.actors;
|
||||
|
||||
import com.badlogic.gdx.graphics.Color;
|
||||
import com.badlogic.gdx.graphics.g2d.Batch;
|
||||
|
@ -23,9 +23,9 @@ import com.badlogic.gdx.math.Rectangle;
|
|||
import com.badlogic.gdx.scenes.scene2d.Actor;
|
||||
import com.badlogic.gdx.scenes.scene2d.ui.Label;
|
||||
|
||||
import io.github.lonamiwebs.klooni.Klooni;
|
||||
import io.github.lonamiwebs.klooni.Theme;
|
||||
import io.github.lonamiwebs.klooni.game.GameLayout;
|
||||
import dev.lonami.klooni.Klooni;
|
||||
import dev.lonami.klooni.Theme;
|
||||
import dev.lonami.klooni.game.GameLayout;
|
||||
|
||||
public abstract class ShopCard extends Actor {
|
||||
|
|
@ -15,14 +15,14 @@
|
|||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
package io.github.lonamiwebs.klooni.actors;
|
||||
package dev.lonami.klooni.actors;
|
||||
|
||||
import com.badlogic.gdx.graphics.g2d.Batch;
|
||||
import com.badlogic.gdx.scenes.scene2d.ui.ImageButton;
|
||||
import com.badlogic.gdx.scenes.scene2d.utils.Drawable;
|
||||
|
||||
import io.github.lonamiwebs.klooni.Klooni;
|
||||
import io.github.lonamiwebs.klooni.Theme;
|
||||
import dev.lonami.klooni.Klooni;
|
||||
import dev.lonami.klooni.Theme;
|
||||
|
||||
// Small wrapper to use themed image buttons more easily
|
||||
public class SoftButton extends ImageButton {
|
|
@ -15,15 +15,15 @@
|
|||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
package io.github.lonamiwebs.klooni.actors;
|
||||
package dev.lonami.klooni.actors;
|
||||
|
||||
import com.badlogic.gdx.graphics.Texture;
|
||||
import com.badlogic.gdx.graphics.g2d.Batch;
|
||||
|
||||
import io.github.lonamiwebs.klooni.Klooni;
|
||||
import io.github.lonamiwebs.klooni.Theme;
|
||||
import io.github.lonamiwebs.klooni.game.Cell;
|
||||
import io.github.lonamiwebs.klooni.game.GameLayout;
|
||||
import dev.lonami.klooni.Klooni;
|
||||
import dev.lonami.klooni.Theme;
|
||||
import dev.lonami.klooni.game.Cell;
|
||||
import dev.lonami.klooni.game.GameLayout;
|
||||
|
||||
// Card-like actor used to display information about a given theme
|
||||
public class ThemeCard extends ShopCard {
|
|
@ -15,7 +15,7 @@
|
|||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
package io.github.lonamiwebs.klooni.effects;
|
||||
package dev.lonami.klooni.effects;
|
||||
|
||||
import com.badlogic.gdx.Gdx;
|
||||
import com.badlogic.gdx.graphics.Color;
|
||||
|
@ -24,9 +24,9 @@ import com.badlogic.gdx.math.Interpolation;
|
|||
import com.badlogic.gdx.math.MathUtils;
|
||||
import com.badlogic.gdx.math.Vector2;
|
||||
|
||||
import io.github.lonamiwebs.klooni.game.Cell;
|
||||
import io.github.lonamiwebs.klooni.interfaces.IEffect;
|
||||
import io.github.lonamiwebs.klooni.interfaces.IEffectFactory;
|
||||
import dev.lonami.klooni.game.Cell;
|
||||
import dev.lonami.klooni.interfaces.IEffect;
|
||||
import dev.lonami.klooni.interfaces.IEffectFactory;
|
||||
|
||||
|
||||
public class EvaporateEffectFactory implements IEffectFactory {
|
|
@ -15,7 +15,7 @@
|
|||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
package io.github.lonamiwebs.klooni.effects;
|
||||
package dev.lonami.klooni.effects;
|
||||
|
||||
import com.badlogic.gdx.Gdx;
|
||||
import com.badlogic.gdx.graphics.Color;
|
||||
|
@ -24,9 +24,9 @@ import com.badlogic.gdx.math.MathUtils;
|
|||
import com.badlogic.gdx.math.Vector2;
|
||||
import com.badlogic.gdx.math.Vector3;
|
||||
|
||||
import io.github.lonamiwebs.klooni.game.Cell;
|
||||
import io.github.lonamiwebs.klooni.interfaces.IEffect;
|
||||
import io.github.lonamiwebs.klooni.interfaces.IEffectFactory;
|
||||
import dev.lonami.klooni.game.Cell;
|
||||
import dev.lonami.klooni.interfaces.IEffect;
|
||||
import dev.lonami.klooni.interfaces.IEffectFactory;
|
||||
|
||||
|
||||
public class ExplodeEffectFactory implements IEffectFactory {
|
|
@ -15,7 +15,7 @@
|
|||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
package io.github.lonamiwebs.klooni.effects;
|
||||
package dev.lonami.klooni.effects;
|
||||
|
||||
import com.badlogic.gdx.Gdx;
|
||||
import com.badlogic.gdx.graphics.Color;
|
||||
|
@ -24,9 +24,9 @@ import com.badlogic.gdx.math.Interpolation;
|
|||
import com.badlogic.gdx.math.Matrix4;
|
||||
import com.badlogic.gdx.math.Vector2;
|
||||
|
||||
import io.github.lonamiwebs.klooni.game.Cell;
|
||||
import io.github.lonamiwebs.klooni.interfaces.IEffect;
|
||||
import io.github.lonamiwebs.klooni.interfaces.IEffectFactory;
|
||||
import dev.lonami.klooni.game.Cell;
|
||||
import dev.lonami.klooni.interfaces.IEffect;
|
||||
import dev.lonami.klooni.interfaces.IEffectFactory;
|
||||
|
||||
|
||||
public class SpinEffectFactory implements IEffectFactory {
|
|
@ -15,7 +15,7 @@
|
|||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
package io.github.lonamiwebs.klooni.effects;
|
||||
package dev.lonami.klooni.effects;
|
||||
|
||||
import com.badlogic.gdx.Gdx;
|
||||
import com.badlogic.gdx.graphics.Color;
|
||||
|
@ -24,9 +24,9 @@ import com.badlogic.gdx.math.Interpolation;
|
|||
import com.badlogic.gdx.math.MathUtils;
|
||||
import com.badlogic.gdx.math.Vector2;
|
||||
|
||||
import io.github.lonamiwebs.klooni.game.Cell;
|
||||
import io.github.lonamiwebs.klooni.interfaces.IEffect;
|
||||
import io.github.lonamiwebs.klooni.interfaces.IEffectFactory;
|
||||
import dev.lonami.klooni.game.Cell;
|
||||
import dev.lonami.klooni.interfaces.IEffect;
|
||||
import dev.lonami.klooni.interfaces.IEffectFactory;
|
||||
|
||||
|
||||
public class VanishEffectFatory implements IEffectFactory {
|
|
@ -15,7 +15,7 @@
|
|||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
package io.github.lonamiwebs.klooni.effects;
|
||||
package dev.lonami.klooni.effects;
|
||||
|
||||
import com.badlogic.gdx.Gdx;
|
||||
import com.badlogic.gdx.graphics.Color;
|
||||
|
@ -25,10 +25,10 @@ import com.badlogic.gdx.math.MathUtils;
|
|||
import com.badlogic.gdx.math.Vector2;
|
||||
import com.badlogic.gdx.math.Vector3;
|
||||
|
||||
import io.github.lonamiwebs.klooni.SkinLoader;
|
||||
import io.github.lonamiwebs.klooni.game.Cell;
|
||||
import io.github.lonamiwebs.klooni.interfaces.IEffect;
|
||||
import io.github.lonamiwebs.klooni.interfaces.IEffectFactory;
|
||||
import dev.lonami.klooni.SkinLoader;
|
||||
import dev.lonami.klooni.game.Cell;
|
||||
import dev.lonami.klooni.interfaces.IEffect;
|
||||
import dev.lonami.klooni.interfaces.IEffectFactory;
|
||||
|
||||
|
||||
public class WaterdropEffectFactory implements IEffectFactory {
|
|
@ -15,7 +15,7 @@
|
|||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
package io.github.lonamiwebs.klooni.game;
|
||||
package dev.lonami.klooni.game;
|
||||
|
||||
import com.badlogic.gdx.graphics.Color;
|
||||
import com.badlogic.gdx.graphics.Texture;
|
||||
|
@ -26,9 +26,9 @@ import com.badlogic.gdx.math.Rectangle;
|
|||
import com.badlogic.gdx.scenes.scene2d.ui.Label;
|
||||
import com.badlogic.gdx.utils.Align;
|
||||
|
||||
import io.github.lonamiwebs.klooni.Klooni;
|
||||
import io.github.lonamiwebs.klooni.SkinLoader;
|
||||
import io.github.lonamiwebs.klooni.serializer.BinSerializable;
|
||||
import dev.lonami.klooni.Klooni;
|
||||
import dev.lonami.klooni.SkinLoader;
|
||||
import dev.lonami.klooni.serializer.BinSerializable;
|
||||
|
||||
public abstract class BaseScorer implements BinSerializable {
|
||||
|
|
@ -15,7 +15,7 @@
|
|||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
package io.github.lonamiwebs.klooni.game;
|
||||
package dev.lonami.klooni.game;
|
||||
|
||||
import com.badlogic.gdx.graphics.g2d.Batch;
|
||||
import com.badlogic.gdx.math.MathUtils;
|
||||
|
@ -27,9 +27,9 @@ import java.io.DataInputStream;
|
|||
import java.io.DataOutputStream;
|
||||
import java.io.IOException;
|
||||
|
||||
import io.github.lonamiwebs.klooni.interfaces.IEffect;
|
||||
import io.github.lonamiwebs.klooni.interfaces.IEffectFactory;
|
||||
import io.github.lonamiwebs.klooni.serializer.BinSerializable;
|
||||
import dev.lonami.klooni.interfaces.IEffect;
|
||||
import dev.lonami.klooni.interfaces.IEffectFactory;
|
||||
import dev.lonami.klooni.serializer.BinSerializable;
|
||||
|
||||
// Represents the on screen board, with all the put cells
|
||||
// and functions to determine when it is game over given a PieceHolder
|
|
@ -15,7 +15,7 @@
|
|||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
package io.github.lonamiwebs.klooni.game;
|
||||
package dev.lonami.klooni.game;
|
||||
|
||||
import com.badlogic.gdx.Gdx;
|
||||
import com.badlogic.gdx.graphics.g2d.Batch;
|
||||
|
@ -23,7 +23,7 @@ import com.badlogic.gdx.math.Interpolation;
|
|||
import com.badlogic.gdx.math.Vector2;
|
||||
import com.badlogic.gdx.scenes.scene2d.ui.Label;
|
||||
|
||||
import io.github.lonamiwebs.klooni.Klooni;
|
||||
import dev.lonami.klooni.Klooni;
|
||||
|
||||
class BonusParticle {
|
||||
|
|
@ -15,7 +15,7 @@
|
|||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
package io.github.lonamiwebs.klooni.game;
|
||||
package dev.lonami.klooni.game;
|
||||
|
||||
import com.badlogic.gdx.graphics.g2d.Batch;
|
||||
import com.badlogic.gdx.math.Vector2;
|
||||
|
@ -24,7 +24,7 @@ import com.badlogic.gdx.utils.Array;
|
|||
|
||||
import java.util.Iterator;
|
||||
|
||||
import io.github.lonamiwebs.klooni.Klooni;
|
||||
import dev.lonami.klooni.Klooni;
|
||||
|
||||
public class BonusParticleHandler {
|
||||
|
|
@ -15,7 +15,7 @@
|
|||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
package io.github.lonamiwebs.klooni.game;
|
||||
package dev.lonami.klooni.game;
|
||||
|
||||
import com.badlogic.gdx.graphics.Color;
|
||||
import com.badlogic.gdx.graphics.Texture;
|
||||
|
@ -26,8 +26,8 @@ import java.io.DataInputStream;
|
|||
import java.io.DataOutputStream;
|
||||
import java.io.IOException;
|
||||
|
||||
import io.github.lonamiwebs.klooni.Klooni;
|
||||
import io.github.lonamiwebs.klooni.serializer.BinSerializable;
|
||||
import dev.lonami.klooni.Klooni;
|
||||
import dev.lonami.klooni.serializer.BinSerializable;
|
||||
|
||||
// Represents a single cell, with a position, size and color.
|
||||
// Instances will use the cell texture provided by the currently used skin.
|
|
@ -15,15 +15,15 @@
|
|||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
package io.github.lonamiwebs.klooni.game;
|
||||
package dev.lonami.klooni.game;
|
||||
|
||||
|
||||
import com.badlogic.gdx.Gdx;
|
||||
import com.badlogic.gdx.math.Rectangle;
|
||||
import com.badlogic.gdx.scenes.scene2d.ui.Label;
|
||||
|
||||
import io.github.lonamiwebs.klooni.actors.Band;
|
||||
import io.github.lonamiwebs.klooni.actors.ShopCard;
|
||||
import dev.lonami.klooni.actors.Band;
|
||||
import dev.lonami.klooni.actors.ShopCard;
|
||||
|
||||
// Helper class to calculate the size of each element
|
||||
//
|
|
@ -15,7 +15,7 @@
|
|||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
package io.github.lonamiwebs.klooni.game;
|
||||
package dev.lonami.klooni.game;
|
||||
|
||||
import com.badlogic.gdx.graphics.Color;
|
||||
import com.badlogic.gdx.graphics.g2d.SpriteBatch;
|
||||
|
@ -27,7 +27,7 @@ import java.io.DataInputStream;
|
|||
import java.io.DataOutputStream;
|
||||
import java.io.IOException;
|
||||
|
||||
import io.github.lonamiwebs.klooni.Klooni;
|
||||
import dev.lonami.klooni.Klooni;
|
||||
|
||||
// Represents a piece with an arbitrary shape, which
|
||||
// can be either rectangles (squares too) or L shaped
|
|
@ -15,7 +15,7 @@
|
|||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
package io.github.lonamiwebs.klooni.game;
|
||||
package dev.lonami.klooni.game;
|
||||
|
||||
import com.badlogic.gdx.Gdx;
|
||||
import com.badlogic.gdx.audio.Sound;
|
||||
|
@ -30,8 +30,8 @@ import java.io.DataInputStream;
|
|||
import java.io.DataOutputStream;
|
||||
import java.io.IOException;
|
||||
|
||||
import io.github.lonamiwebs.klooni.Klooni;
|
||||
import io.github.lonamiwebs.klooni.serializer.BinSerializable;
|
||||
import dev.lonami.klooni.Klooni;
|
||||
import dev.lonami.klooni.serializer.BinSerializable;
|
||||
|
||||
// A holder of pieces that can be drawn on screen.
|
||||
// Pieces can be picked up from it and dropped on a board.
|
|
@ -15,14 +15,14 @@
|
|||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
package io.github.lonamiwebs.klooni.game;
|
||||
package dev.lonami.klooni.game;
|
||||
|
||||
import java.io.DataInputStream;
|
||||
import java.io.DataOutputStream;
|
||||
import java.io.IOException;
|
||||
|
||||
import io.github.lonamiwebs.klooni.Klooni;
|
||||
import io.github.lonamiwebs.klooni.serializer.BinSerializable;
|
||||
import dev.lonami.klooni.Klooni;
|
||||
import dev.lonami.klooni.serializer.BinSerializable;
|
||||
|
||||
// Used to keep track of the current and maximum
|
||||
// score, and to also display it on the screen.
|
|
@ -15,7 +15,7 @@
|
|||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
package io.github.lonamiwebs.klooni.game;
|
||||
package dev.lonami.klooni.game;
|
||||
|
||||
import com.badlogic.gdx.graphics.g2d.SpriteBatch;
|
||||
import com.badlogic.gdx.math.MathUtils;
|
||||
|
@ -27,8 +27,8 @@ import java.io.DataInputStream;
|
|||
import java.io.DataOutputStream;
|
||||
import java.io.IOException;
|
||||
|
||||
import io.github.lonamiwebs.klooni.Klooni;
|
||||
import io.github.lonamiwebs.klooni.serializer.BinSerializable;
|
||||
import dev.lonami.klooni.Klooni;
|
||||
import dev.lonami.klooni.serializer.BinSerializable;
|
||||
|
||||
public class TimeScorer extends BaseScorer implements BinSerializable {
|
||||
|
|
@ -1,9 +1,9 @@
|
|||
package io.github.lonamiwebs.klooni.interfaces;
|
||||
package dev.lonami.klooni.interfaces;
|
||||
|
||||
import com.badlogic.gdx.graphics.g2d.Batch;
|
||||
import com.badlogic.gdx.math.Vector2;
|
||||
|
||||
import io.github.lonamiwebs.klooni.game.Cell;
|
||||
import dev.lonami.klooni.game.Cell;
|
||||
|
||||
public interface IEffect {
|
||||
void setInfo(Cell deadCell, Vector2 culprit);
|
|
@ -15,11 +15,11 @@
|
|||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
package io.github.lonamiwebs.klooni.interfaces;
|
||||
package dev.lonami.klooni.interfaces;
|
||||
|
||||
import com.badlogic.gdx.math.Vector2;
|
||||
|
||||
import io.github.lonamiwebs.klooni.game.Cell;
|
||||
import dev.lonami.klooni.game.Cell;
|
||||
|
||||
/**
|
||||
* IEffectEfactory interface has to be implemented for each effect.
|
|
@ -15,7 +15,7 @@
|
|||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
package io.github.lonamiwebs.klooni.screens;
|
||||
package dev.lonami.klooni.screens;
|
||||
|
||||
|
||||
import com.badlogic.gdx.Gdx;
|
||||
|
@ -34,15 +34,15 @@ import com.badlogic.gdx.scenes.scene2d.ui.VerticalGroup;
|
|||
import com.badlogic.gdx.scenes.scene2d.utils.ChangeListener;
|
||||
import com.badlogic.gdx.utils.SnapshotArray;
|
||||
|
||||
import io.github.lonamiwebs.klooni.Klooni;
|
||||
import io.github.lonamiwebs.klooni.Theme;
|
||||
import io.github.lonamiwebs.klooni.actors.EffectCard;
|
||||
import io.github.lonamiwebs.klooni.actors.MoneyBuyBand;
|
||||
import io.github.lonamiwebs.klooni.actors.ShopCard;
|
||||
import io.github.lonamiwebs.klooni.actors.SoftButton;
|
||||
import io.github.lonamiwebs.klooni.actors.ThemeCard;
|
||||
import io.github.lonamiwebs.klooni.game.GameLayout;
|
||||
import io.github.lonamiwebs.klooni.interfaces.IEffectFactory;
|
||||
import dev.lonami.klooni.Klooni;
|
||||
import dev.lonami.klooni.Theme;
|
||||
import dev.lonami.klooni.actors.EffectCard;
|
||||
import dev.lonami.klooni.actors.MoneyBuyBand;
|
||||
import dev.lonami.klooni.actors.ShopCard;
|
||||
import dev.lonami.klooni.actors.SoftButton;
|
||||
import dev.lonami.klooni.actors.ThemeCard;
|
||||
import dev.lonami.klooni.game.GameLayout;
|
||||
import dev.lonami.klooni.interfaces.IEffectFactory;
|
||||
|
||||
// Screen where the user can customize the look and feel of the game
|
||||
class CustomizeScreen implements Screen {
|
|
@ -15,7 +15,7 @@
|
|||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
package io.github.lonamiwebs.klooni.screens;
|
||||
package dev.lonami.klooni.screens;
|
||||
|
||||
import com.badlogic.gdx.Gdx;
|
||||
import com.badlogic.gdx.Input;
|
||||
|
@ -30,17 +30,17 @@ import java.io.DataInputStream;
|
|||
import java.io.DataOutputStream;
|
||||
import java.io.IOException;
|
||||
|
||||
import io.github.lonamiwebs.klooni.Klooni;
|
||||
import io.github.lonamiwebs.klooni.game.BaseScorer;
|
||||
import io.github.lonamiwebs.klooni.game.Board;
|
||||
import io.github.lonamiwebs.klooni.game.BonusParticleHandler;
|
||||
import io.github.lonamiwebs.klooni.game.GameLayout;
|
||||
import io.github.lonamiwebs.klooni.game.Piece;
|
||||
import io.github.lonamiwebs.klooni.game.PieceHolder;
|
||||
import io.github.lonamiwebs.klooni.game.Scorer;
|
||||
import io.github.lonamiwebs.klooni.game.TimeScorer;
|
||||
import io.github.lonamiwebs.klooni.serializer.BinSerializable;
|
||||
import io.github.lonamiwebs.klooni.serializer.BinSerializer;
|
||||
import dev.lonami.klooni.Klooni;
|
||||
import dev.lonami.klooni.game.BaseScorer;
|
||||
import dev.lonami.klooni.game.Board;
|
||||
import dev.lonami.klooni.game.BonusParticleHandler;
|
||||
import dev.lonami.klooni.game.GameLayout;
|
||||
import dev.lonami.klooni.game.Piece;
|
||||
import dev.lonami.klooni.game.PieceHolder;
|
||||
import dev.lonami.klooni.game.Scorer;
|
||||
import dev.lonami.klooni.game.TimeScorer;
|
||||
import dev.lonami.klooni.serializer.BinSerializable;
|
||||
import dev.lonami.klooni.serializer.BinSerializer;
|
||||
|
||||
// Main game screen. Here the board, piece holder and score are shown
|
||||
class GameScreen implements Screen, InputProcessor, BinSerializable {
|
|
@ -15,7 +15,7 @@
|
|||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
package io.github.lonamiwebs.klooni.screens;
|
||||
package dev.lonami.klooni.screens;
|
||||
|
||||
import com.badlogic.gdx.Gdx;
|
||||
import com.badlogic.gdx.Input;
|
||||
|
@ -27,8 +27,8 @@ import com.badlogic.gdx.scenes.scene2d.Stage;
|
|||
import com.badlogic.gdx.scenes.scene2d.ui.Table;
|
||||
import com.badlogic.gdx.scenes.scene2d.utils.ChangeListener;
|
||||
|
||||
import io.github.lonamiwebs.klooni.Klooni;
|
||||
import io.github.lonamiwebs.klooni.actors.SoftButton;
|
||||
import dev.lonami.klooni.Klooni;
|
||||
import dev.lonami.klooni.actors.SoftButton;
|
||||
|
||||
// Main menu screen, presenting some options (play, customize…)
|
||||
public class MainMenuScreen extends InputListener implements Screen {
|
|
@ -15,7 +15,7 @@
|
|||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
package io.github.lonamiwebs.klooni.screens;
|
||||
package dev.lonami.klooni.screens;
|
||||
|
||||
import com.badlogic.gdx.Gdx;
|
||||
import com.badlogic.gdx.Input;
|
||||
|
@ -31,11 +31,11 @@ import com.badlogic.gdx.scenes.scene2d.actions.RunnableAction;
|
|||
import com.badlogic.gdx.scenes.scene2d.ui.Table;
|
||||
import com.badlogic.gdx.scenes.scene2d.utils.ChangeListener;
|
||||
|
||||
import io.github.lonamiwebs.klooni.Klooni;
|
||||
import io.github.lonamiwebs.klooni.actors.Band;
|
||||
import io.github.lonamiwebs.klooni.actors.SoftButton;
|
||||
import io.github.lonamiwebs.klooni.game.BaseScorer;
|
||||
import io.github.lonamiwebs.klooni.game.GameLayout;
|
||||
import dev.lonami.klooni.Klooni;
|
||||
import dev.lonami.klooni.actors.Band;
|
||||
import dev.lonami.klooni.actors.SoftButton;
|
||||
import dev.lonami.klooni.game.BaseScorer;
|
||||
import dev.lonami.klooni.game.GameLayout;
|
||||
|
||||
// The pause stage is not a whole screen but rather a menu
|
||||
// which can be overlaid on top of another screen
|
|
@ -15,7 +15,7 @@
|
|||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
package io.github.lonamiwebs.klooni.screens;
|
||||
package dev.lonami.klooni.screens;
|
||||
|
||||
|
||||
import com.badlogic.gdx.Gdx;
|
||||
|
@ -25,7 +25,7 @@ import com.badlogic.gdx.graphics.g2d.SpriteBatch;
|
|||
import com.badlogic.gdx.scenes.scene2d.ui.Label;
|
||||
import com.badlogic.gdx.utils.Align;
|
||||
|
||||
import io.github.lonamiwebs.klooni.Klooni;
|
||||
import dev.lonami.klooni.Klooni;
|
||||
|
||||
// Screen where the user can customize the look and feel of the game
|
||||
class ShareScoreScreen implements Screen {
|
|
@ -15,7 +15,7 @@
|
|||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
package io.github.lonamiwebs.klooni.screens;
|
||||
package dev.lonami.klooni.screens;
|
||||
|
||||
import com.badlogic.gdx.Gdx;
|
||||
import com.badlogic.gdx.Screen;
|
||||
|
@ -25,7 +25,7 @@ import com.badlogic.gdx.graphics.g2d.SpriteBatch;
|
|||
import com.badlogic.gdx.graphics.g2d.TextureRegion;
|
||||
import com.badlogic.gdx.graphics.glutils.FrameBuffer;
|
||||
|
||||
import io.github.lonamiwebs.klooni.Klooni;
|
||||
import dev.lonami.klooni.Klooni;
|
||||
|
||||
public class TransitionScreen implements Screen {
|
||||
|
|
@ -15,7 +15,7 @@
|
|||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
package io.github.lonamiwebs.klooni.serializer;
|
||||
package dev.lonami.klooni.serializer;
|
||||
|
||||
import java.io.DataInputStream;
|
||||
import java.io.DataOutputStream;
|
|
@ -15,7 +15,7 @@
|
|||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
package io.github.lonamiwebs.klooni.serializer;
|
||||
package dev.lonami.klooni.serializer;
|
||||
|
||||
import java.io.DataInputStream;
|
||||
import java.io.DataOutputStream;
|
|
@ -3,7 +3,7 @@ apply plugin: "java"
|
|||
sourceCompatibility = 1.6
|
||||
sourceSets.main.java.srcDirs = [ "src/" ]
|
||||
|
||||
project.ext.mainClassName = "io.github.lonamiwebs.klooni.desktop.DesktopLauncher"
|
||||
project.ext.mainClassName = "dev.lonami.klooni.desktop.DesktopLauncher"
|
||||
project.ext.assetsDir = new File("../android/assets");
|
||||
|
||||
task run(dependsOn: classes, type: JavaExec) {
|
||||
|
|
|
@ -15,12 +15,12 @@
|
|||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
package io.github.lonamiwebs.klooni.desktop;
|
||||
package dev.lonami.klooni.desktop;
|
||||
|
||||
import com.badlogic.gdx.Files;
|
||||
import com.badlogic.gdx.backends.lwjgl.LwjglApplication;
|
||||
import com.badlogic.gdx.backends.lwjgl.LwjglApplicationConfiguration;
|
||||
import io.github.lonamiwebs.klooni.Klooni;
|
||||
import dev.lonami.klooni.Klooni;
|
||||
|
||||
class DesktopLauncher {
|
||||
public static void main (String[] arg) {
|
||||
|
|
|
@ -4,7 +4,7 @@ sourceCompatibility = '1.7'
|
|||
[compileJava, compileTestJava]*.options*.encoding = 'UTF-8'
|
||||
|
||||
ext {
|
||||
mainClassName = "io.github.lonamiwebs.klooni.IOSLauncher"
|
||||
mainClassName = "dev.lonami.klooni.IOSLauncher"
|
||||
}
|
||||
|
||||
launchIPhoneSimulator.dependsOn build
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
app.version=1.0
|
||||
app.id=io.github.lonamiwebs.klooni
|
||||
app.mainclass=io.github.lonamiwebs.klooni.IOSLauncher
|
||||
app.id=dev.lonami.klooni
|
||||
app.mainclass=dev.lonami.klooni.IOSLauncher
|
||||
app.executable=IOSLauncher
|
||||
app.build=1
|
||||
app.name=1010! Klooni
|
||||
|
|
|
@ -15,14 +15,14 @@
|
|||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
package io.github.lonamiwebs.klooni;
|
||||
package dev.lonami.klooni;
|
||||
|
||||
import org.robovm.apple.foundation.NSAutoreleasePool;
|
||||
import org.robovm.apple.uikit.UIApplication;
|
||||
|
||||
import com.badlogic.gdx.backends.iosrobovm.IOSApplication;
|
||||
import com.badlogic.gdx.backends.iosrobovm.IOSApplicationConfiguration;
|
||||
import io.github.lonamiwebs.klooni.Klooni;
|
||||
import dev.lonami.klooni.Klooni;
|
||||
|
||||
class IOSLauncher extends IOSApplication.Delegate {
|
||||
@Override
|
Loading…
Reference in a new issue