add vehicle test
This commit is contained in:
@@ -230,6 +230,7 @@ let fps = 60,
|
||||
monsters = [],
|
||||
pickups = [],
|
||||
treasure = [],
|
||||
vehicles = [],
|
||||
doors = [], // ! Hier sammel ich alle Door Objekte.
|
||||
liquids = [], // ! Alle Bereich, die mit Wasser gefüllt sind.
|
||||
bullets = [],
|
||||
@@ -334,6 +335,19 @@ let theme = {
|
||||
level1: new music('./audio/music/8BitCave.wav', musicVolume),
|
||||
}
|
||||
|
||||
let submarine = {
|
||||
collected: 0,
|
||||
killed: 0,
|
||||
maxHitpoints: 5,
|
||||
currentHitpoints: 3,
|
||||
vul: true,
|
||||
hurt: false,
|
||||
interact: false,
|
||||
shooting: false,
|
||||
swimming: false,
|
||||
diving: false,
|
||||
}
|
||||
|
||||
let globalPlayer = {
|
||||
collected: 0,
|
||||
killed: 0,
|
||||
|
||||
Reference in New Issue
Block a user