1
0
Fork 0

Refactor into cmd, engine and game packages to make the code more clear

This commit is contained in:
Henrik Hautakoski 2025-08-13 14:55:59 +02:00
parent ebf8e820f1
commit dd37379bc5
9 changed files with 6 additions and 6 deletions

View file

@ -4,4 +4,4 @@ GO = go
.PHONY: build/pacman
build/pacman:
$(GO) build -o $@ ./pacman
$(GO) build -o $@ ./cmd/main

View file

@ -1,9 +1,9 @@
package main
import (
"pacman/assets"
"pacman/render"
"pacman/world"
"pacman/engine/render"
"pacman/game/assets"
"pacman/game/world"
rl "github.com/gen2brain/raylib-go/raylib"
)

View file

@ -1,7 +1,7 @@
package render
import (
"pacman/assets"
"pacman/game/assets"
rl "github.com/gen2brain/raylib-go/raylib"
)

View file

@ -1,7 +1,7 @@
package world
import (
"pacman/assets"
"pacman/game/assets"
)
const (