add vehicle test

This commit is contained in:
StrangeD0s
2023-02-19 01:05:41 +01:00
parent 4ec4e0ad24
commit c11dcf9076
7 changed files with 84 additions and 0 deletions
+11
View File
@@ -818,6 +818,17 @@ const level1 = {
x: 176,
y: 351.375,
},
{
class: 'vehicle',
height: 32,
id: 30,
name: 'vehicle',
rotation: 0,
visible: true,
width: 32,
x: 95,
y: 590,
},
],
opacity: 1,
type: 'objectgroup',
+9
View File
@@ -36,6 +36,15 @@ let playerObject = {
},
}
let vehicle = {
class: 'vehicle',
maxHitpoints: 5,
currentHitpoints: 5,
maxdx: 3,
vul: true,
hurt: false,
}
let bounderMonster = {
class: 'monster',
currentHitpoints: 2,