This repository has been archived by the owner on Nov 13, 2023. It is now read-only.
-
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.
Merge branch feature/level4 into main (#86)
* Level4 added -Implement Level4 - Insert Level 4 in Game * reworked level 3 and positoning of buttons * rework level4 * rebased * review adjustments
- Loading branch information
1 parent
cdd36f7
commit 6ce9de0
Showing
13 changed files
with
358 additions
and
42 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -0,0 +1,30 @@ | ||
import AssetManager from "../../engine/assets/assetmanager.js"; | ||
import Services from "../../engine/dependencyinjection/services.js"; | ||
import Entity from "../../engine/entitiy/entity.js"; | ||
|
||
class MetalWallEntity2 extends Entity { | ||
constructor( | ||
x: number, | ||
y: number, | ||
scalingX: number, | ||
scalingY: number, | ||
widthExpansion: number, | ||
heightExpansion: number | ||
) { | ||
super( | ||
x, | ||
y, | ||
0, | ||
0, | ||
0, | ||
scalingX, | ||
scalingY, | ||
widthExpansion, | ||
heightExpansion, | ||
false, | ||
Services.resolve<AssetManager>("AssetManager").getTexture("bridge") | ||
); | ||
} | ||
} | ||
|
||
export default MetalWallEntity2; |
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.