Add shape prop

This commit is contained in:
Ketchetwahmeegwun T. Southall 2022-01-30 11:02:52 -08:00
parent a886c73047
commit d6aaf734fe

View File

@ -17,6 +17,7 @@ export class Sensor {
export class Entity { export class Entity {
sprite: SpriteInstance sprite: SpriteInstance
body?: planck.Body body?: planck.Body
shape?: planck.Shape
velocity: [number, number] = [0, 0] velocity: [number, number] = [0, 0]
acceleration: number = 0.5 acceleration: number = 0.5
maxSpeed: number = 4 maxSpeed: number = 4