-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
WORKING VERSION UPD BOX2D \ HUD | srever
- Loading branch information
Showing
28 changed files
with
282 additions
and
396 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
android/src/com/aqwsxlostfly/packandgo/client/dto/InputStateImpl.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
WS_URI=ws://192.168.170.241:8867/ws | ||
WS_URI=ws://192.168.2.176:8867/ws |
44 changes: 22 additions & 22 deletions
44
core/src/com/aqwsxlostfly/packandgo/AssetManagerSingleton.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,22 @@ | ||
//package com.aqwsxlostfly.packandgo; | ||
// | ||
//import com.badlogic.gdx.assets.AssetManager; | ||
//import com.badlogic.gdx.graphics.Texture; | ||
// | ||
//public class AssetManagerSingleton { | ||
// private static AssetManagerSingleton assetManagerSingleton; | ||
// | ||
// private AssetManager assetManager; | ||
// | ||
// private AssetManagerSingleton() { | ||
// assetManager = new AssetManager(); | ||
// } | ||
// | ||
// public static AssetManager getAssetManager() { | ||
// if (assetManagerSingleton == null) { | ||
// assetManagerSingleton = new AssetManagerSingleton(); | ||
// } | ||
// Texture.setAssetManager(assetManagerSingleton.assetManager); | ||
// return assetManagerSingleton.assetManager; | ||
// } | ||
//} | ||
package com.aqwsxlostfly.packandgo; | ||
|
||
import com.badlogic.gdx.assets.AssetManager; | ||
import com.badlogic.gdx.graphics.Texture; | ||
|
||
public class AssetManagerSingleton { | ||
private static AssetManagerSingleton assetManagerSingleton; | ||
|
||
private AssetManager assetManager; | ||
|
||
private AssetManagerSingleton() { | ||
assetManager = new AssetManager(); | ||
} | ||
|
||
public static AssetManager getAssetManager() { | ||
if (assetManagerSingleton == null) { | ||
assetManagerSingleton = new AssetManagerSingleton(); | ||
} | ||
Texture.setAssetManager(assetManagerSingleton.assetManager); | ||
return assetManagerSingleton.assetManager; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.