toddw123 / RotMG_Clientless

Compatible with version X16.0.0
MIT License
11 stars 4 forks source link

have the option to walk to the center of an world position #10

Closed ebf34e12952930cf closed 7 years ago

ebf34e12952930cf commented 7 years ago

this may or may not be the most efficient way

toddw123 commented 7 years ago

Hmm what would be the importance of this? As it stands now, the WorldPosData x/y are already floats, why not just set the target x/y to the center before calling the moveTo?

ebf34e12952930cf commented 7 years ago

hm, yea true. i guess it removes the need to not have that code in other places?

toddw123 commented 7 years ago

I guess that is fine, but id rather have it be false by default, that way it doesnt change the target data unless you specifically tell it to change the target data.

ebf34e12952930cf commented 7 years ago

yea i realized that after i commited it, ill change it