duckengine
Version:
A 2D Game Engine for the web.
24 lines (22 loc) • 505 B
text/typescript
import { Duck } from '../../..';
import Game from '../../game';
import Texture from '../../texture/texture';
import Scene from '../../scene';
import GameObject from '../gameObject';
export default class UI<
t extends Duck.Types.Texture.Type
> extends GameObject<t> {
constructor(
shape: Duck.Types.Collider.ShapeString,
x: number,
y: number,
w: number,
h: number,
r: number,
texture: Texture<t>,
game: Game,
scene: Scene
) {
super(shape, x, y, w, h, r, texture, game, scene);
}
}