add more logging
parent
20e97aff70
commit
c395c22bc2
@ -0,0 +1,27 @@
|
|||||||
|
package systems
|
||||||
|
|
||||||
|
import (
|
||||||
|
"log/slog"
|
||||||
|
|
||||||
|
"github.com/EngoEngine/ecs"
|
||||||
|
|
||||||
|
"code.ndumas.com/ndumas/muddy/components"
|
||||||
|
)
|
||||||
|
|
||||||
|
type Exit struct {
|
||||||
|
*components.ID
|
||||||
|
*components.Observable
|
||||||
|
To, From uint64
|
||||||
|
}
|
||||||
|
|
||||||
|
type ExitSystem struct {
|
||||||
|
L *slog.Logger
|
||||||
|
exits map[uint64]*Exit
|
||||||
|
}
|
||||||
|
|
||||||
|
func (es *ExitSystem) New(w *ecs.World) {}
|
||||||
|
|
||||||
|
func (es *ExitSystem) Update(dt float32) {
|
||||||
|
}
|
||||||
|
|
||||||
|
func (es *ExitSystem) Remove(e ecs.BasicEntity) {}
|
||||||
Loading…
Reference in New Issue