Add platform-specific implementations for assets, audio, WebSocket, and rendering on Desktop and WebAssembly platforms. Introduce embedded assets for WebAssembly and native file handling for Desktop. Add platform-specific chunk loading and game state synchronization.
This commit is contained in:
9
cmd/client/gameover_native.go
Normal file
9
cmd/client/gameover_native.go
Normal file
@@ -0,0 +1,9 @@
|
||||
//go:build !wasm
|
||||
// +build !wasm
|
||||
|
||||
package main
|
||||
|
||||
// sendGameOverToJS ist ein Stub für Native (kein HTML)
|
||||
func (g *Game) sendGameOverToJS(score int) {
|
||||
// Native hat kein HTML-Overlay, nichts zu tun
|
||||
}
|
||||
Reference in New Issue
Block a user