feat: Collider
This commit is contained in:
parent
d10f6ccd32
commit
c5e1871c91
|
@ -18,6 +18,7 @@ export function createEntityForConnection(socket) {
|
|||
}
|
||||
},
|
||||
},
|
||||
collider: {},
|
||||
directional: {
|
||||
params: {
|
||||
directionCount: 4,
|
||||
|
|
|
@ -4,6 +4,10 @@ import {Room} from '@avocado/topdown';
|
|||
function flowerBarrelJSON(position) {
|
||||
return {
|
||||
traits: {
|
||||
collider: {},
|
||||
existent: {},
|
||||
graphical: {},
|
||||
physical: {},
|
||||
pictured: {
|
||||
params: {
|
||||
images: {
|
||||
|
@ -15,9 +19,6 @@ function flowerBarrelJSON(position) {
|
|||
}
|
||||
},
|
||||
},
|
||||
existent: {},
|
||||
graphical: {},
|
||||
physical: {},
|
||||
positioned: {
|
||||
state: {
|
||||
x: position[0],
|
||||
|
|
Loading…
Reference in New Issue
Block a user