mirror of
https://athene2.informatik.unibw-muenchen.de/progproj/gruppen-ht24/Gruppe-02.git
synced 2025-01-18 22:56:15 +01:00
added new background
This commit is contained in:
parent
d18cea435c
commit
274ed2b25d
@ -177,12 +177,12 @@ public class BoardAppState extends MonopolyAppState {
|
|||||||
*/
|
*/
|
||||||
private void setupSky() {
|
private void setupSky() {
|
||||||
final AssetManager assetManager = getApp().getAssetManager();
|
final AssetManager assetManager = getApp().getAssetManager();
|
||||||
final Texture west = assetManager.loadTexture("Pictures/Backdrop/west.jpg"); //NON-NLS
|
final Texture west = assetManager.loadTexture("Pictures/Backdrop/wall.jpg"); //NON-NLS
|
||||||
final Texture east = assetManager.loadTexture("Pictures/Backdrop/ost.jpg"); //NON-NLS
|
final Texture east = assetManager.loadTexture("Pictures/Backdrop/door.jpg"); //NON-NLS
|
||||||
final Texture north = assetManager.loadTexture("Pictures/Backdrop/nord.jpg"); //NON-NLS
|
final Texture north = assetManager.loadTexture("Pictures/Backdrop/board.jpg"); //NON-NLS
|
||||||
final Texture south = assetManager.loadTexture("Pictures/Backdrop/sued.jpg"); //NON-NLS
|
final Texture south = assetManager.loadTexture("Pictures/Backdrop/wall.jpg"); //NON-NLS
|
||||||
final Texture up = assetManager.loadTexture("Pictures/Backdrop/up.jpg"); //NON-NLS
|
final Texture up = assetManager.loadTexture("Pictures/Backdrop/wall.jpg"); //NON-NLS
|
||||||
final Texture down = assetManager.loadTexture("Pictures/Backdrop/down.jpg"); //NON-NLS
|
final Texture down = assetManager.loadTexture("Pictures/Backdrop/floor1.jpg"); //NON-NLS
|
||||||
final Spatial sky = SkyFactory.createSky(assetManager, west, east, north, south, up, down);
|
final Spatial sky = SkyFactory.createSky(assetManager, west, east, north, south, up, down);
|
||||||
// sky.rotate(0, PI, 0);
|
// sky.rotate(0, PI, 0);
|
||||||
viewNode.attachChild(sky);
|
viewNode.attachChild(sky);
|
||||||
|
Binary file not shown.
After Width: | Height: | Size: 121 KiB |
Binary file not shown.
After Width: | Height: | Size: 114 KiB |
Binary file not shown.
After Width: | Height: | Size: 473 KiB |
Binary file not shown.
After Width: | Height: | Size: 136 KiB |
Binary file not shown.
After Width: | Height: | Size: 136 KiB |
Loading…
Reference in New Issue
Block a user