base documentation of konstructor

This commit is contained in:
2023-07-08 16:34:53 +02:00
parent e5c2294f6c
commit 638fb415ec
17 changed files with 80 additions and 1 deletions
+2
View File
@@ -1,11 +1,13 @@
package konstructor
// Initial arguments of an engine
type EngineArgs struct {
Domain DomainInterface
KContext *KContext
Config *Config
}
// Engine wrapper interface. You need to implement to this for your EntityWrapper, which can run your game engine
type EngineWrapperInterface interface {
Init(options EngineArgs)
Run()