move source files to src

This commit is contained in:
2023-07-08 12:20:34 +02:00
parent 6028c5770f
commit e5c2294f6c
43 changed files with 23 additions and 21 deletions

View File

@@ -1,9 +1,9 @@
package main
import (
"game/domain"
"game/konstructor"
"game/konstructor/engines/easy_ebitengine"
"game/src/domain"
"game/src/konstructor"
"game/src/konstructor/engines/easy_ebitengine"
)
func main() {

View File

@@ -1,7 +1,7 @@
package domain
import (
"game/konstructor"
"game/src/konstructor"
)
const (

View File

@@ -1,7 +1,7 @@
package domain
import (
"game/konstructor"
"game/src/konstructor"
)
type Domain struct {

View File

@@ -1,7 +1,7 @@
package domain
import (
"game/konstructor"
"game/src/konstructor"
"image/color"
)

View File

@@ -1,7 +1,7 @@
package domain
import (
"game/konstructor"
"game/src/konstructor"
"image/color"
"github.com/hajimehoshi/ebiten"

View File

@@ -1,6 +1,6 @@
package domain
import "game/konstructor"
import "game/src/konstructor"
func (d *Domain) AddToInventory(item *konstructor.Item) bool {
return true

View File

@@ -1,6 +1,6 @@
package domain
import "game/konstructor"
import "game/src/konstructor"
const (
Level1Playground1 konstructor.PlaygroundID = "level_1_playground_1"

View File

@@ -2,7 +2,7 @@ package domain
import (
"fmt"
"game/konstructor"
"game/src/konstructor"
"os"
)

View File

@@ -1,6 +1,6 @@
package domain
import "game/konstructor"
import "game/src/konstructor"
func (d *Domain) Process(options konstructor.DomainProcessArgs) {

View File

@@ -1,6 +1,6 @@
package domain
import "game/konstructor"
import "game/src/konstructor"
const (
SwordItemType konstructor.ItemTypeMapKey = "sword"

View File

@@ -1,6 +1,6 @@
package domain
import "game/konstructor"
import "game/src/konstructor"
const (
TestNPCType konstructor.NPCTypeMapKey = "test_npc"

View File

@@ -1,6 +1,6 @@
package domain
import "game/konstructor"
import "game/src/konstructor"
const (
TestPlatformType konstructor.PlatformTypeMapKey = "test_platform"

View File

@@ -1,6 +1,6 @@
package domain
import "game/konstructor"
import "game/src/konstructor"
const (
DefaultPlayerType konstructor.PlayerTypeID = "default"

View File

@@ -1,7 +1,7 @@
package easy_ebitengine
import (
"game/konstructor"
"game/src/konstructor"
"os"
"github.com/hajimehoshi/ebiten"

View File

@@ -1,7 +1,7 @@
package easy_ebitengine
import (
"game/konstructor"
"game/src/konstructor"
"log"
_ "image/png"

View File

@@ -1,7 +1,7 @@
package easy_ebitengine
import (
"game/konstructor"
"game/src/konstructor"
"github.com/hajimehoshi/ebiten"
)

View File

@@ -1,7 +1,7 @@
package easy_ebitengine
import (
"game/konstructor"
"game/src/konstructor"
"github.com/hajimehoshi/ebiten"
)

View File

@@ -1,7 +1,7 @@
package easy_ebitengine
import (
"game/konstructor"
"game/src/konstructor"
"github.com/hajimehoshi/ebiten"
)

View File

@@ -2,7 +2,7 @@ package easy_ebitengine
import (
"fmt"
"game/konstructor"
"game/src/konstructor"
"image/color"
"github.com/hajimehoshi/ebiten"

View File

@@ -1,5 +1,7 @@
// Game framework inspired by AGI
package konstructor
// Main struct of framework
type Konstructor struct {
Domain DomainInterface
EngineWrapper EngineWrapperInterface