fix: case error and enemies before checkpoint
This commit is contained in:
		
							parent
							
								
									90725f8175
								
							
						
					
					
						commit
						36edec5a4d
					
				| 
						 | 
					@ -30,30 +30,6 @@
 | 
				
			||||||
            "type": "player",
 | 
					            "type": "player",
 | 
				
			||||||
            "x": 5,
 | 
					            "x": 5,
 | 
				
			||||||
            "y": 8
 | 
					            "y": 8
 | 
				
			||||||
         },
 | 
					 | 
				
			||||||
         {
 | 
					 | 
				
			||||||
            "type": "black_pudding",
 | 
					 | 
				
			||||||
            "x": 3,
 | 
					 | 
				
			||||||
            "y": 7,
 | 
					 | 
				
			||||||
            "possibility": 1
 | 
					 | 
				
			||||||
         },
 | 
					 | 
				
			||||||
         {
 | 
					 | 
				
			||||||
            "type": "Tiger",
 | 
					 | 
				
			||||||
            "x": 2,
 | 
					 | 
				
			||||||
            "y": 12,
 | 
					 | 
				
			||||||
            "possibility": 1
 | 
					 | 
				
			||||||
         },
 | 
					 | 
				
			||||||
         {
 | 
					 | 
				
			||||||
            "type": "black_pudding",
 | 
					 | 
				
			||||||
            "x": 14,
 | 
					 | 
				
			||||||
            "y": 3,
 | 
					 | 
				
			||||||
            "possibility": 1
 | 
					 | 
				
			||||||
         },
 | 
					 | 
				
			||||||
         {
 | 
					 | 
				
			||||||
            "type": "Tiger",
 | 
					 | 
				
			||||||
            "x": 24,
 | 
					 | 
				
			||||||
            "y": 7,
 | 
					 | 
				
			||||||
            "possibility": 1
 | 
					 | 
				
			||||||
         }
 | 
					         }
 | 
				
			||||||
      ],
 | 
					      ],
 | 
				
			||||||
      "startCheckPoint": [24, 13, 4, 4]
 | 
					      "startCheckPoint": [24, 13, 4, 4]
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -4,7 +4,7 @@ import ResourceManager from "../../Wolfie2D/ResourceManager/ResourceManager";
 | 
				
			||||||
import WeaponType from "../GameSystems/items/WeaponTypes/WeaponType";
 | 
					import WeaponType from "../GameSystems/items/WeaponTypes/WeaponType";
 | 
				
			||||||
import Slice from "../GameSystems/items/WeaponTypes/Slice";
 | 
					import Slice from "../GameSystems/items/WeaponTypes/Slice";
 | 
				
			||||||
import SemiAutoGun from "../GameSystems/items/WeaponTypes/SemiAutoGun";
 | 
					import SemiAutoGun from "../GameSystems/items/WeaponTypes/SemiAutoGun";
 | 
				
			||||||
import laserGun from "../GameSystems/items/WeaponTypes/laserGun";
 | 
					import laserGun from "../GameSystems/items/WeaponTypes/LaserGun";
 | 
				
			||||||
export default class WeaponTemplateRegistry extends Registry<WeaponConstructor> {
 | 
					export default class WeaponTemplateRegistry extends Registry<WeaponConstructor> {
 | 
				
			||||||
    
 | 
					    
 | 
				
			||||||
    public preload(): void {
 | 
					    public preload(): void {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user