final case class Group(children: Batch[SceneNode], eventHandlerEnabled: Boolean, eventHandler: ((Group, GlobalEvent)) => Option[GlobalEvent], position: Point, rotation: Radians, scale: Vector2, depth: Depth, ref: Point, flip: Flip) extends DependentNode[Group] with SpatialModifiers[Group]

Used to group elements to allow them to be manipulated as a collection.

trait Serializable
trait Product
trait Equals
trait SceneNode
class Object
trait Matchable
class Any

Type members

Inherited types

type Out = T
Inherited from:

Value members

Concrete methods

def addChild(child: SceneNode): Group
def addChildren(additionalChildren: Batch[SceneNode]): Group
def flipHorizontal(isFlipped: Boolean): Group
def flipVertical(isFlipped: Boolean): Group
def moveBy(pt: Point): Group
def moveBy(x: Int, y: Int): Group
def moveTo(pt: Point): Group
def moveTo(x: Int, y: Int): Group
def rotateBy(angle: Radians): Group
def rotateTo(angle: Radians): Group
def scaleBy(x: Double, y: Double): Group
def scaleBy(amount: Vector2): Group
def transformBy(positionDiff: Point, rotationDiff: Radians, scaleDiff: Vector2): Group
def transformTo(newPosition: Point, newRotation: Radians, newScale: Vector2): Group
def withDepth(newDepth: Depth): Group
def withFlip(newFlip: Flip): Group
def withPosition(newPosition: Point): Group
def withRef(newRef: Point): Group
def withRef(x: Int, y: Int): Group
def withRotation(newRotation: Radians): Group
def withScale(newScale: Vector2): Group

Inherited methods

Inherited from:

Concrete fields

lazy val x: Int
lazy val y: Int