Class SelectionTool.Selection
java.lang.Object
group24.escaperoom.ui.editorTools.SelectionTool.Selection
- Enclosing class:
- SelectionTool
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidvoidcom.badlogic.gdx.math.RectanglegetArea()com.badlogic.gdx.utils.Array<Item>getItems()voidvoidsetEnd(com.badlogic.gdx.math.Vector2 vec) In Game coordsvoidvoidsetNewArea(com.badlogic.gdx.math.Rectangle rectangle) Give me a rectangle in game coordinates.voidsetStart(com.badlogic.gdx.math.Vector2 vec) In Game coordsvoid
-
Field Details
-
area
protected com.badlogic.gdx.math.Rectangle area -
selectedItems
-
screen
-
-
Constructor Details
-
Selection
-
-
Method Details
-
minimizeArea
public void minimizeArea() -
addItem
-
setStart
public void setStart(com.badlogic.gdx.math.Vector2 vec) In Game coords -
setEnd
public void setEnd(com.badlogic.gdx.math.Vector2 vec) In Game coords -
getArea
public com.badlogic.gdx.math.Rectangle getArea()- Returns:
- the region that is selected
-
getItems
-
setItems
-
clearSelectedItems
public void clearSelectedItems() -
updateArea
public void updateArea() -
setNewArea
public void setNewArea(com.badlogic.gdx.math.Rectangle rectangle) Give me a rectangle in game coordinates.
-