mirror of
https://github.com/thilo-behnke/wasm-pong.git
synced 2026-07-11 10:39:18 +00:00
added todos
This commit is contained in:
@@ -13,6 +13,7 @@
|
||||
export let killLoopOnError = true;
|
||||
export let debug = false;
|
||||
|
||||
// TODO: Put field into store, canvas is only allowed to call method tick(). Parent can extract objects to include them into snapshot.
|
||||
const field = FieldWrapper.new();
|
||||
|
||||
let canvas: any;
|
||||
|
||||
@@ -27,6 +27,7 @@
|
||||
}
|
||||
|
||||
$: if(session && session.state === SessionState.RUNNING) {
|
||||
// TODO: Include objects
|
||||
switch(session.type) {
|
||||
case SessionType.HOST:
|
||||
console.debug("sending host snapshot")
|
||||
|
||||
Reference in New Issue
Block a user