Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/caviar/src/entities/containers/mod.ts>Group

⚡ Blazing fast, modern, Game Engine powered by WebGPU for Deno and the browser
Go to Latest
class Group
extends Entity
import { Group } from "https://deno.land/x/caviar@2.4.11/src/entities/containers/mod.ts";

Constructors

new
Group(
scene: Scene,
x: number,
y: number,
)

Properties

children: Array<Entity>
scene: Scene

Methods

addChild(child: Entity | Entity[])
killChild(child: Entity | Entity[])