Interface ObjectComposition

    • Method Detail

      • getId

        int getId()
        Gets ID for the object.
        See Also:
        ObjectID
      • getName

        String getName()
        Gets the name of the object.
      • getMapSceneId

        int getMapSceneId()
        Gets the index of this object in the Client.getMapScene() array, or -1 if it has no map scene icon
      • setMapSceneId

        void setMapSceneId​(int mapSceneId)
        Set the map scene index into the Client.getMapScene() array, or -1 if it has no map scene icon
        Parameters:
        mapSceneId -
      • getMapIconId

        int getMapIconId()
        Gets the index of this object in the Client.getMapIcons() array, or -1 if it has no full map icon
      • setMapIconId

        void setMapIconId​(int mapIconId)
        Set the index of the object in the Client.getMapIcons() array, or -1 if it has no map icon
        Parameters:
        mapIconId -
      • getImpostorIds

        int[] getImpostorIds()
        Get the ObjectIDs of objects this can transform into, depending on a Varbits or VarPlayer
      • getSizeX

        int getSizeX()
        Get the size of the object on the X-axis in tiles
        Returns:
      • getSizeY

        int getSizeY()
        Get the size of the object on the Y-axis in tiles
        Returns: