refactor: Graphical -> Visible

This commit is contained in:
cha0s 2019-04-14 18:42:23 -05:00
parent e31d6395c3
commit 8da18b115b
3 changed files with 5 additions and 5 deletions

View File

@ -96,7 +96,7 @@ export class Informed extends decorate(Trait) {
const pathOverrides = [
['existent', 'state', 'isTicking'],
['physical', 'state', 'addedToPhysics'],
['graphical', 'state', 'isVisible'],
['visible', 'state', 'isVisible'],
]
for (const pathOverride of pathOverrides) {
steps.push({
@ -142,7 +142,7 @@ export class Informed extends decorate(Trait) {
const pathOverrides = [
['existent', 'state', 'isTicking'],
['physical', 'state', 'addedToPhysics'],
['graphical', 'state', 'isVisible'],
['visible', 'state', 'isVisible'],
]
for (const pathOverride of pathOverrides) {
steps.push({

View File

@ -26,7 +26,7 @@ export function createEntityForConnection(socket) {
},
existent: {},
followed: {},
graphical: {},
visible: {},
mobile: {
state: {
speed: 100,

View File

@ -6,7 +6,7 @@ function flowerBarrelJSON(position) {
traits: {
collider: {},
existent: {},
graphical: {},
visible: {},
physical: {},
pictured: {
params: {
@ -174,7 +174,7 @@ function kittyJSON(position) {
},
},
existent: {},
graphical: {},
visible: {},
mobile: {
state: {
speed: 40,