yarn icon indicating copy to clipboard operation
yarn copied to clipboard

Entity.setPos and Entity.setPosition need better names

Open enbrain opened this issue 3 years ago • 3 comments

Those methods have different behaviors.

enbrain avatar May 02 '21 12:05 enbrain

I recall that setPos is the new way to replace old x+=.. etc while the setPosition calls a few other associated methods for sync etc.

liach avatar May 02 '21 16:05 liach

@liach Entity.setPos and Entity.updatePosition or Entity.changePosition maybe? (trying to avoid the setPositionAndSync type of naming)

Sollace avatar Jun 07 '21 21:06 Sollace

need a more throughout investigation on this, prob as part of the javadoc writing effort

liach avatar Jun 08 '21 01:06 liach