Module necro.game.tile.Segment
Functions
add (x, y, width, height) | |
clearAll () | |
contains (segmentID, x, y) | |
getBounds (segmentID) | |
getSegmentBoundsAt (x, y) | |
getSegmentIDAt (x, y) | |
remove (segmentID) | |
setBounds (segmentID, x, y, width, height) |
Functions
- add (x, y, width, height)
-
Parameters:
- x
- y
- width
- height
- clearAll ()
- contains (segmentID, x, y)
-
Parameters:
- segmentID
- x
- y
- getBounds (segmentID)
-
Parameters:
- segmentID
- getSegmentBoundsAt (x, y)
-
Parameters:
- x
- y
- getSegmentIDAt (x, y)
-
Parameters:
- x
- y
- remove (segmentID)
-
Parameters:
- segmentID
- setBounds (segmentID, x, y, width, height)
-
Parameters:
- segmentID
- x
- y
- width
- height