Skip to content

Commit 472f1a9

Browse files
committed
2 parents 1aaf0f8 + 1e77e81 commit 472f1a9

File tree

4 files changed

+21
-2
lines changed

4 files changed

+21
-2
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# yougame.github.io
2+
Game with different branches, eaach class handles a branch

src/game.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ let init = () => {
4848
// Add EventListener to load the game whenever the browser is ready
4949
window.addEventListener("load", init);
5050

51-
51+
//push
5252

5353

5454

src/schoolParty.ts

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,22 @@
66
class SchoolParty extends GameScreen {
77

88
//add the global attributes
9-
private character: HTMLImageElement;
9+
1010
private keyboardListener: KeyboardListener;
11+
12+
public constructor(
13+
game: Game) {
14+
super(game);
15+
16+
17+
}
18+
19+
20+
21+
22+
23+
24+
25+
26+
1127
}

src/startScreen.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,4 @@ class StartScreen extends GameScreen {
3131
}
3232
}
3333

34+
//push

0 commit comments

Comments
 (0)