Print at Dec 21, 2025, 1:07:44 AM

Posted by enkonyito at Sep 28, 2018, 5:17:31 PM
Re: Rename furniture
As shown in the user's guide , a selected piece of furniture has a rectangular outline (1 center and 4 corners).

Which translates into coding:
getX
public float getX()
// Returns the abscissa of the center of this piece of furniture.

getY
public float getY()
// Returns the ordinate of the center of this piece of furniture.

getPoints
public float[][] getPoints()
// Returns the points of each corner of a piece.


So just change the outline of the room to take into account the renaming of the piece of furniture (in bold).

----------------------------------------
EnkoNyito