refactor: Graphical -> Visible
This commit is contained in:
parent
e31d6395c3
commit
8da18b115b
|
@ -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({
|
||||
|
|
|
@ -26,7 +26,7 @@ export function createEntityForConnection(socket) {
|
|||
},
|
||||
existent: {},
|
||||
followed: {},
|
||||
graphical: {},
|
||||
visible: {},
|
||||
mobile: {
|
||||
state: {
|
||||
speed: 100,
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue
Block a user