import { Entity } from "https://deno.land/x/caviar@2.6.9/src/entities/mod.ts";
An Entity represents any object that can be used in a scene
Methods
collides(_x: number, _y: number)
Logic for determining mouse collision
onClick()
Runs when the entity is clicked
setInteractive(interactive?)
Sets the interactivity to a boolean
setPosition()
x: number,
y: number,
z?: number,
Sets the entities position