Abstracted out drawing to a seperate class, AmDraw.ts, in case I want to switch to webgl rendering instead of canvas.