Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • CubeShape

Implements

Index

Constructors

constructor

  • new CubeShape(width: number, height: number, color: string): CubeShape

Properties

Private color

color: string

Private height

height: number

Private img

img: Image

Private width

width: number

Methods

getColor

  • getColor(): string

getHeight

  • getHeight(): number

getImg

  • getImg(): Image

getWidth

  • getWidth(): number

init

render

  • render(entity: Entity): void

Generated using TypeDoc