started tile serializing

This commit is contained in:
2019-11-10 04:29:59 +03:00
parent f442dc6921
commit 3251d00dac
8 changed files with 155 additions and 51 deletions

9
engine/items/carried.go Normal file
View File

@ -0,0 +1,9 @@
package items
import "lab.zaar.be/thefish/alchemyst-go/engine/ecs"
type Carried struct {}
func (c *Carried) Type() string {
return ecs.CarriedComponent
}

10
engine/items/useable.go Normal file
View File

@ -0,0 +1,10 @@
package items
import "lab.zaar.be/thefish/alchemyst-go/engine/ecs"
type Useable struct {}
func (u *Useable) Type() string {
return ecs.UsableComponent
}