started tile serializing
This commit is contained in:
9
engine/items/carried.go
Normal file
9
engine/items/carried.go
Normal 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
10
engine/items/useable.go
Normal 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
|
||||
}
|
Reference in New Issue
Block a user