mirror of
				https://athene2.informatik.unibw-muenchen.de/progproj/gruppen-ht24/Gruppe-02.git
				synced 2025-11-04 13:56:22 +01:00 
			
		
		
		
	added new background
This commit is contained in:
		@@ -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  | 
		Reference in New Issue
	
	Block a user