You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ability to restrict the movement of a Thing is implemented within the Thing class itself, in the moveTo method, where the portable attribute is checked.
However, there's a system for powerups to interfere with the movement of things which is already general enough to implement the equivalent of Thing.portable == False. Thus, Thing.portable could be removed and the functionality replaced with a powerup like (just sketching):
Ability to restrict the movement of a
Thing
is implemented within theThing
class itself, in themoveTo
method, where theportable
attribute is checked.However, there's a system for powerups to interfere with the movement of things which is already general enough to implement the equivalent of
Thing.portable == False
. Thus,Thing.portable
could be removed and the functionality replaced with a powerup like (just sketching):The text was updated successfully, but these errors were encountered: