given_DrawableJS_SimulationEntity

Extend SimulationEntity with js draw capabilities.

class Object
trait Matchable
class Any

Type members

Inherited types

override type Graphic = CanvasRenderingContext2D
Inherited from:
DrawableJS

Extensions

Extensions

extension (entity: SimulationEntity)
def draw(g: CanvasRenderingContext2D, scale: Int): Unit