feat: Collider

This commit is contained in:
cha0s 2019-04-08 16:20:43 -04:00
parent d10f6ccd32
commit c5e1871c91
2 changed files with 5 additions and 3 deletions

View File

@ -18,6 +18,7 @@ export function createEntityForConnection(socket) {
}
},
},
collider: {},
directional: {
params: {
directionCount: 4,

View File

@ -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],