drawing now seperate from gameLoop
+ refactoring + added soundMutedFlag
This commit is contained in:
@@ -5,6 +5,7 @@ class GameArea {
|
||||
keys: string[] = [];
|
||||
handleInputInterval: number = 0;
|
||||
gameLoopInterval: number = 0;
|
||||
drawLoopInterval: number = 0;
|
||||
canvas: HTMLCanvasElement;
|
||||
ctx: CanvasRenderingContext2D;
|
||||
constructor() {
|
||||
|
||||
Reference in New Issue
Block a user