add vehicle test
This commit is contained in:
@@ -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',
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user